Files
docker-compose/radicale/docker-compose.yml
T

46 lines
1.1 KiB
YAML
Raw Normal View History

2025-06-19 19:05:23 +05:30
services:
radicale:
container_name: radicale
2025-07-13 18:35:45 +05:30
image: docker.io/tomsquest/docker-radicale:3.5.4.0
restart: unless-stopped
2025-07-19 20:34:39 +05:30
init: true
read_only: true
2025-06-19 19:05:23 +05:30
cap_add:
2025-07-19 20:34:39 +05:30
- CHOWN
- KILL
- SETGID
- SETUID
2025-07-13 18:35:45 +05:30
cap_drop:
2025-07-19 20:34:39 +05:30
- ALL
2025-07-13 18:35:45 +05:30
security_opt:
2025-07-19 20:34:39 +05:30
- no-new-privileges:true
2025-06-19 19:05:23 +05:30
deploy:
resources:
limits:
2025-07-19 20:34:39 +05:30
memory: 256M
pids: 50
2025-07-20 21:43:58 +05:30
labels:
- traefik.enable=true
- traefik.http.routers.radicale.rule=Host(`${TRAEFIK_DOMAIN}`)
- traefik.http.routers.radicale.entrypoints=https
- traefik.http.routers.radicale.tls=true
- traefik.http.routers.radicale.tls.certresolver=cloudflare
- traefik.http.services.radicale.loadbalancer.server.port=5232
2025-06-19 19:05:23 +05:30
volumes:
2025-07-19 20:34:39 +05:30
- ${APPDATA_PATH}/radicale/data:/data
- ${APPDATA_PATH}/radicale/config:/config:ro
2025-06-19 19:05:23 +05:30
ports:
2025-07-19 20:34:39 +05:30
- ${PORT}:5232
2025-07-20 21:43:58 +05:30
networks:
- frontend
healthcheck:
2025-07-19 20:34:39 +05:30
test: curl -f http://127.0.0.1:5232 || exit 1
interval: 10s
timeout: 5s
2025-07-19 20:34:39 +05:30
retries: 3
start_period: 10s
2025-07-20 21:43:58 +05:30
networks:
frontend:
external: true