self-hosted/radicale/docker-compose.traefik.yml

23 lines
765 B
YAML
Raw Permalink Normal View History

2022-04-24 10:38:28 +02:00
version: '3'
services:
radicale:
networks:
- proxy
labels:
- traefik.enable=true
- traefik.http.services.dnote.loadbalancer.server.port=5232
2022-05-04 08:10:53 +02:00
- traefik.http.routers.expulsabot.entrypoints=web
2022-04-24 10:38:28 +02:00
- traefik.http.routers.expulsabot.rule=Host(`${FQDN}`)
2022-05-04 08:10:53 +02:00
- traefik.http.middlewares.expulsabot-https-redirect.redirectscheme.scheme=websecure
2022-04-24 10:38:28 +02:00
- traefik.http.routers.expulsabot.middlewares=expulsabot-https-redirect
2022-05-04 08:10:53 +02:00
- traefik.http.routers.expulsabot-secure.entrypoints=websecure
2022-04-24 10:38:28 +02:00
- traefik.http.routers.expulsabot-secure.rule=Host(`${FQDN}`)
- traefik.http.routers.expulsabot-secure.tls=true
- traefik.http.routers.expulsabot-secure.tls.certresolver=letsencrypt
networks:
proxy:
external: true