Files
parentzone_downloader/docker-compose.yml

31 lines
782 B
YAML
Raw Normal View History

2025-10-07 14:52:04 +01:00
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 snapshots and logs
- ./snapshots:/app/snapshots
- ./logs:/app/logs
# Mount your config file
- ./config.json:/app/config.json:ro
restart: unless-stopped
# Optional: expose a port if you want to add a web interface later
# ports:
# - "8080:8080"
volumes:
snapshots:
driver: local
logs:
driver: local