First version
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user