gancio-upstream/docs/install/docker.md
2019-08-05 01:46:43 +02:00

1.4 KiB
Raw Blame History

layout title permalink parent
default Docker /install/docker Install

Install with docker

You do not need to clone the full repo as we distribute gancio via npm.
Dockerfile and docker-compose.yml are the only needed files.

  1. Create a directory where everything related to gancio is stored (db, images, config)
mkdir /opt/gancio
cd /opt/gancio

you can choose a different directory of course

  1. Download docker-compose.yml and Dockerfile
wget https://git.lattuga.net/cisti/gancio/raw/master/docker/Dockerfile
wget https://git.lattuga.net/cisti/gancio/raw/master/docker/docker-compose.yml
  1. Create an empty configuration file (db.sqlite only needed for sqlite setup)
touch config.json db.sqlite

After first setup, you can edit config.json file and restart the container on your needs.

  1. Build docker image and launch interactive setup in one step
docker-compose run --rm gancio gancio setup --docker
  1. Run your container
docker-compose up -d
  1. Setup nginx as a proxy

  2. Point your web browser to http://localhost:13120 or where you specified during setup and enjoy 🎉