MosswartOverlord/docker-compose.yml
2025-05-15 07:43:17 +00:00

22 lines
No EOL
612 B
YAML

version: "3.8"
services:
dereth-tracker:
build: .
ports:
- "127.0.0.1:8765:8765"
volumes:
# Mount local database file for persistence
- "./dereth.db:/app/dereth.db"
- "./main.py:/app/main.py"
- "./db.py:/app/db.py"
- "./static:/app/static"
environment:
# Override database and application settings as needed
DB_MAX_SIZE_MB: "2048"
DB_RETENTION_DAYS: "7"
DB_MAX_SQL_LENGTH: "1000000000"
DB_MAX_SQL_VARIABLES: "32766"
DB_WAL_AUTOCHECKPOINT_PAGES: "1000"
SHARED_SECRET: "your_shared_secret"
restart: unless-stopped