trankimvu / upsource-docker-compose

Compose to create working UpSource server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

youtrack-docker-compose

Compose to create working UpSource server

state ssl Version

How to use

Clone this repository or download the zip.

git clone https://github.com/Egregors/upsource-docker-compose.git

Configuration

Create and Configure UpSource-specific Directories

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

SSL

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

LETSENCRYPT_EMAIL=username@example.com

Building and setup

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.

Contributing

Bug reports, bug fixes and new features are always welcome. Please open issues and submit pull requests for any new code.

About

Compose to create working UpSource server

License:GNU General Public License v3.0