Skip to main content

🐳 Docker configuration

Define environment variables​

3 types of environment variables are required to run the sync:

  • Core variables: required in situations, get them here
  • Sync variables: required for the sync you want, get them here
  • Docker variables: required for the docker container, get them here
Environment file generator

Feel free to generate your .env file with the generator

Create the touitomamout docker container​

Two ways of creating it: either by using the image or by building it from the source code. The first one is a bit easier, but features will be the same in both cases.


📦 Releases are published on the following registries:

Image tagDescription
latestCorresponds to the latest release.
devReflects the most recent changes on "main" branch.
x.x.xA specific version.

From the image​

docker-compose.yml
version: '3.9'

services:
touitomamout:
container_name: "touitomamout"
image: louisgrasset/touitomamout:latest # Or "ghcr.io/louisgrasset/touitomamout:latest"
restart: unless-stopped
environment:
- ENV_FILE=/data/.env
- STORAGE_DIR=/data
volumes:
- ./data:/data

From the source code​

docker-compose.source.yml
version: '3.9'

services:
touitomamout:
container_name: "touitomamout"
build:
context: ./ # ← This will build the image from the source code
restart: unless-stopped
environment:
- ENV_FILE=/data/.env
- STORAGE_DIR=/data
volumes:
- ./data:/data

Run it!​

Simply run this command to start the container.

docker-compose up -d