feat: add tests, update configs, fix state.py return, update gitignore
This commit is contained in:
+8
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user