feat: add tests, update configs, fix state.py return, update gitignore

This commit is contained in:
2026-06-11 23:00:34 +02:00
parent 64d078f457
commit 0f390ff1e1
12 changed files with 305 additions and 15 deletions
+8 -4
View File
@@ -8,7 +8,11 @@ services:
- BAIKAL_URL=${BAIKAL_URL}
- BAIKAL_USER=${BAIKAL_USER}
- BAIKAL_PASS=${BAIKAL_PASS}
- SYNC_FREQUENCY=5 # Minutes
# If your Baikal is on the same host, you might need network_mode: "host"
# or ensure they share a network.
# network_mode: "host"
- SYNC_FREQUENCY=${SYNC_FREQUENCY:-5}
- CALENDAR_ID=${CALENDAR_ID:-}
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8081/health')"]
interval: 60s
timeout: 10s
retries: 3
start_period: 5s