version: '3'
networks:
traefik:
external: true
services:
radicale:
restart: always
image: mailu/radicale:1.9
volumes:
- /data/radicale:/data
- /apps/radicale/config:/radicale
command: radicale -S -C /radicale/radicale.conf
- traefik
labels:
- traefik.http.routers.radicale.entrypoints=websecure
- traefik.http.routers.radicale.rule=Host(`dav.pizzapim.nl`)
- traefik.http.routers.radicale.tls=true
- traefik.http.routers.radicale.tls.certresolver=pizzapim