22 lines
573 B
Django/Jinja
22 lines
573 B
Django/Jinja
version: '3'
|
|
|
|
networks:
|
|
traefik:
|
|
external: true
|
|
|
|
services:
|
|
radicale:
|
|
restart: always
|
|
image: mailu/radicale:1.9
|
|
container_name: radicale
|
|
volumes:
|
|
- {{ data_dir }}:/data
|
|
- {{ service_dir }}/config:/radicale
|
|
command: radicale -S -C /radicale/radicale.conf
|
|
networks:
|
|
- 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
|