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