This repository has been archived on 2023-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
max/roles/radicale/templates/docker-compose.yml.j2

26 lines
729 B
Text
Raw Permalink Normal View History

2022-12-14 20:35:59 +00:00
version: '3'
2023-01-02 16:18:29 +00:00
networks:
traefik:
external: true
2022-12-14 20:35:59 +00:00
services:
radicale:
restart: always
image: mailu/radicale:1.9
container_name: radicale
2022-12-14 20:35:59 +00:00
volumes:
2023-01-07 19:32:42 +00:00
- {{ data_dir }}:/data
- {{ service_dir }}/config:/radicale
2022-12-14 20:35:59 +00:00
command: radicale -S -C /radicale/radicale.conf
2023-01-02 16:18:29 +00:00
networks:
- traefik
labels:
- traefik.enable=true
2023-01-02 16:18:29 +00:00
- traefik.http.routers.radicale.entrypoints=websecure
2023-02-08 07:27:30 +00:00
- traefik.http.routers.radicale.rule=Host(`{{ dav_domain }}`)
2023-01-02 16:18:29 +00:00
- traefik.http.routers.radicale.tls=true
2023-02-08 07:27:30 +00:00
- traefik.http.routers.radicale.tls.certresolver=letsencrypt
- traefik.http.routers.radicale.service=radicale
2023-02-08 07:27:30 +00:00
- traefik.http.services.radicale.loadbalancer.server.port=5232