Link Search Menu Expand Document

Docker installation

  1. Setup
  2. Start gancio
  3. Upgrade


Make sure to have Docker Engine, Docker Compose and nginx installed:

sudo apt install docker docker-compose nginx

Create a directory where everything related to gancio is stored:

mkdir -p /opt/gancio
cd /opt/gancio

Download Dockerfile and


Download docker-compose.yml choosing your preferred database dialect between sqlite, postgres and mariadb:


Build docker image

docker-compose build

Start gancio

Start your container:

docker-compose up -d

You can take a look at logs using:

tail -f  data/logs/gancio.log

You’ll need to setup nginx as a proxy then you can point your web browser to your domain :tada:


Backup your data

Backup your data is generally a good thing to do and this is especially true before upgrading. Don’t be lazy and backup your data!

Upgrade from a version < 1.0

Since v1.0 our docker setup is changed and a new container has to be built:

  1. cd /opt/gancio
  2. Backup your data
  3. Download new Dockerfile
  4. Download new
  5. Download new docker-compose.yml (substitute sqlite with postgres in case):
  6. Build the new container docker-compose build
  7. Extract your backup into ./data
    mkdir data; tar xvzf gancio-<yourLastBackup>-backup.tgz -C data
  8. Stop your old container docker-compose stop
  9. Start your new container docker-compose up
cd /opt/gancio
docker-compose up -d --no-deps --build