21 lines
544 B
Django/Jinja
21 lines
544 B
Django/Jinja
version: '3'
|
|
|
|
networks:
|
|
traefik:
|
|
external: true
|
|
|
|
services:
|
|
radicale:
|
|
restart: always
|
|
image: mailu/radicale:1.9
|
|
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
|