-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (48 loc) · 1.28 KB
/
docker-compose.yml
File metadata and controls
57 lines (48 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: '3.8'
services:
calplanebot:
build: .
ports:
- "8765:8765"
env_file:
- .env
environment:
# Application Settings
- APP_NAME=CalPlaneBot
- VERSION=0.1.0
- DEBUG=false
# Server Configuration
- HOST=0.0.0.0
- PORT=8765
# Plane Configuration
- PLANE_BASE_URL=${PLANE_BASE_URL}
- PLANE_API_TOKEN=${PLANE_API_TOKEN}
- PLANE_WORKSPACE_SLUG=${PLANE_WORKSPACE_SLUG}
# CalDAV Configuration
- CALDAV_URL=${CALDAV_URL}
- CALDAV_USERNAME=${CALDAV_USERNAME}
- CALDAV_PASSWORD=${CALDAV_PASSWORD}
# Optional Webhook Configuration
- PLANE_WEBHOOK_SECRET=${PLANE_WEBHOOK_SECRET}
# Sync Configuration
- SYNC_INTERVAL_SECONDS=60
- ENABLE_SYNC=true
- BIDIRECTIONAL_SYNC=false
# CalDAV Event Settings
- EVENT_DEFAULT_DURATION_HOURS=1
- EVENT_TIMEZONE=Europe/Moscow
# Cache Configuration
- CACHE_TTL_SECONDS=3600
- MAX_CACHE_SIZE=1000
# Logging
- LOG_LEVEL=INFO
volumes:
- ./logs:/app/logs
user: root
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "curl -f http://127.0.0.1:8765/health || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s