Compose to create working UpSource server
Clone this repository or download the zip.
git clone https://github.com/Egregors/upsource-docker-compose.git
They must be accessible to the user account that is used to run UpSource service inside the container. UpSource uses the non-root account 13001:13001 (group:id, respectively).
mkdir -p -m 750 /opt/upsource/data /opt/upsource/logs /opt/upsource/conf /opt/upsource/backups
chown -R 13001:13001 /opt/upsource/data /opt/upsource/logs /opt/upsource/conf /opt/upsource/backups
HTTPs support is ON, by default. All you need is just set your domain name and email variables in env.example
and rename env.exampleto
.env`
Don't push .env
file in public repositories!
HTTPs support provided by Let's Encrypt certificates (see https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion)
VIRTUAL_HOST=upsource.example.com
LETSENCRYPT_HOST=upsource.example.com
[email protected]
Next, build the images:
cd upsource-docker-compose
docker-compose build --pull
Now you can Up the service and continue settings in Web Interface:
docker-compose up -d
Note: First start can take a long time. Check logs to be sure everything ok:
docker-compose logs -f
After initialisation Web Interface will be available on https://yourdockerhost/
Note: your SSL certs will be saved in ./nginx/certs folder.
Bug reports, bug fixes and new features are always welcome. Please open issues and submit pull requests for any new code.