Files
turmlibar-calendar/docker-compose.yml
2025-10-30 13:33:08 +01:00

20 lines
489 B
YAML

version: '3.8'
services:
calendar:
build: .
container_name: turmli-calendar
ports:
- "${PORT:-8000}:8000"
environment:
- TZ=${TZ:-Europe/Berlin}
- PYTHONUNBUFFERED=1
volumes:
# Persist calendar cache between restarts
- ./calendar_cache.json:/app/calendar_cache.json
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/api/events"]
interval: 30s
timeout: 10s
retries: 3