commit 20f638f0534c6917e19c571a9eaf5c23937060ae Author: stephane.david Date: Sat Mar 22 11:34:31 2025 +0100 First version diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..8f2665f --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,30 @@ +services: + gomft: + image: starfleetcptn/gomft:latest + container_name: GoMFT + healthcheck: + test: ["CMD-SHELL", "nc -z 127.0.0.1 8080 || exit 1"] + interval: 10s + timeout: 5s + retries: 3 + start_period: 90s + ports: + - 8663:8080 + volumes: + - /var/lib/docker/volumes/gomft/data:/app/data:rw + - /var/lib/docker/volumes/gomft/backups:/app/backups:rw + environment: + - TZ=Europe/Paris + - DATA_DIR=/app/data + - BACKUP_DIR=/app/backups + - PUID=1000 + - PGID=1000 + - JWT_SECRET=tpaX4xoQXzaBuU7xFUgouDhl8DKD468z0OFryjW9MA5VtcgJeDchCsTMZr04lUsI + - BASE_URL=https://gomft.maison + - LOGS_DIR=/app/data/logs + - LOG_MAX_SIZE=10 + - LOG_MAX_BACKUPS=5 + - LOG_MAX_AGE=30 + - LOG_COMPRESS=true + - LOG_LEVEL=info + restart: always \ No newline at end of file