Commit All

This commit is contained in:
2025-10-30 13:33:08 +01:00
commit 3678efed07
31 changed files with 5536 additions and 0 deletions

24
podman-compose.yml Normal file
View File

@@ -0,0 +1,24 @@
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:Z
restart: unless-stopped
# Podman-specific: Run as current user instead of root
userns_mode: keep-id
security_opt:
- label=disable
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/api/events')"]
interval: 30s
timeout: 10s
retries: 3