Files
calender_sync/.env.example
T
stefankoelle b30c02beb8 feat: REST API + Web-Frontend für Kalenderübersicht
- FastAPI Backend mit /api/events, /api/events/{id}, /api/health Endpoints
- Optionale Suche nach Event-Titel (Query Parameter ?search=...)
- Jinja2 Web-Frontend auf / mit Suchfeld
- Shared DB Connection Module (api/database.py)
- Docker Compose: calendar-api Service hinzugefügt
- Sync.py refactored: nutzt shared database.py
2026-08-01 16:12:07 +02:00

22 lines
635 B
Bash

# Secret ICS URL aus den Google Kalender Einstellungen
ICS_URL=https://calendar.google.com/calendar/ical/DEINE_KALENDER_ID%40group.calendar.google.com/private-DEINTOKEN/basic.ics
CALENDAR_LABEL=privat
# MariaDB LXC Zugangsdaten (neue eigenstaendige DB, nicht healthchecks-DB!)
DB_HOST=mariadb.fritz.box
DB_PORT=3306
DB_NAME=calendar_sync
DB_USER=calendar_sync
DB_PASSWORD=HIER_SICHERES_PASSWORT
SYNC_INTERVAL_MINUTES=15
WINDOW_PAST_DAYS=90
WINDOW_FUTURE_DAYS=365
LOG_LEVEL=INFO
# Optional: Healthchecks.io / Uptime Kuma URL (wird nach jedem Sync gepingt)
# HEALTHCHECK_URL=https://hc-ping.com/DEINE_UUID
# API Server
API_PORT=8000