-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (31 loc) · 1.44 KB
/
Copy pathdocker-compose.yml
File metadata and controls
31 lines (31 loc) · 1.44 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
services:
radicale:
build:
context: .
target: dev # local dev image (enables the build-gated demo mode)
image: questsync-radicale:dev
container_name: questsync-radicale
ports:
- "5232:5232"
environment:
- PYTHONPATH=/app
# Multi-user: the server holds NO account creds — each user authenticates
# with their own Habitica User ID + API token as DAV credentials.
# QUESTSYNC_DEMO=1 serves an offline fixture and accepts any login (dev/CI).
- QUESTSYNC_DEMO=${QUESTSYNC_DEMO:-}
- QUESTSYNC_TASK_TYPES=${QUESTSYNC_TASK_TYPES:-todos,dailys}
- QUESTSYNC_CACHE_TTL=${QUESTSYNC_CACHE_TTL:-30}
# Optional fixed x-client author id (defaults to each user's own id).
- QUESTSYNC_CLIENT_AUTHOR=${QUESTSYNC_CLIENT_AUTHOR:-}
# Access gate — default (unset) allows anyone with valid Habitica creds.
# allowlist/http restrict who may log in (see .env.example / docs).
- QUESTSYNC_ACCESS_POLICY=${QUESTSYNC_ACCESS_POLICY:-}
- QUESTSYNC_ALLOWLIST=${QUESTSYNC_ALLOWLIST:-}
- QUESTSYNC_ALLOWLIST_FILE=${QUESTSYNC_ALLOWLIST_FILE:-}
- QUESTSYNC_ACCESS_HTTP_URL=${QUESTSYNC_ACCESS_HTTP_URL:-}
volumes:
# Live-editable config (restart the container to apply changes).
- ./radicale/config:/etc/radicale/config:ro
# Our custom storage plugin source (bind-mounted for fast iteration).
- ./src:/app:ro
restart: unless-stopped