Files
parentzone_downloader/docker-compose.yml
Tudor Sitaru d8637ac2ea
All checks were successful
Build Docker Image / build (push) Successful in 1m3s
repo restructure
2025-10-14 21:58:54 +01:00

29 lines
740 B
YAML

version: "3.8"
services:
parentzone-downloader:
build: .
container_name: parentzone-downloader
environment:
# Optional: Set these if you want to use direct authentication
# instead of or in addition to config.json
- API_KEY=${API_KEY:-}
- EMAIL=${EMAIL:-}
- PASSWORD=${PASSWORD:-}
# Timezone for cron scheduling
- TZ=${TZ:-UTC}
volumes:
# Persistent storage for data
- ./data/snapshots:/app/data/snapshots
- ./data/logs:/app/data/logs
- ./data/parentzone_images:/app/data/parentzone_images
# Mount configuration directory
- ./config:/app/config:ro
ports:
- "8080:8080"
restart: unless-stopped
volumes:
data:
driver: local