yukron / docker-upsource

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upsource is a code review tool from JetBrains.

How to use the image

It is recommended to use a data container to persist the application data:

docker run --name upsource-data \
  -v /opt/Upsource/conf \
  -v /opt/Upsource/data \
  -v /opt/Upsource/logs \
  -v /opt/Upsource/backups \
  busybox /bin/false

If it is your initial Upsource run you have to configure it before use. This can be done by creating an intermediate container:

docker run --rm --volumes-from upsource-data klikatech/upsource \
  bin/upsource.sh configure --listen-port 8080

or if you're going to use a reverse proxy:

docker run --rm --volumes-from upsource-data klikatech/upsource \
  bin/upsource.sh configure --listen-port 8080 --base-url http://upsource.example.com

See official docs for details.

Lastly, run a production container:

docker run -d --volumes-from upsource-data \
  -p 8080:8080 --name upsource klikatech/upsource

About