infrastructure/ansible/plays/services/wkd/docker-compose.yaml
Tobias Manske c71f41230f
All checks were successful
continuous-integration/drone/push Build is passing
Traefik define routing networks
2024-01-22 18:56:36 +01:00

19 lines
556 B
YAML

---
version: "3.4"
services:
wkd:
image: caddy:2
labels:
- "traefik.enable=true"
- "traefik.docker.network=${COMPOSE_PROJECT_NAME}_default"
- "traefik.http.routers.wkd.rule=(Host(`tobiasmanske.de`) && PathPrefix(`/{path:.well-known/openpgpkey}/`))"
- "traefik.http.routers.wkd.entryPoints=websecure"
- "traefik.http.routers.wkd.priority=100"
- "traefik.http.services.wkd.loadbalancer.server.port=80"
restart: always
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro,z
- ./data:/data:ro,Z
...