infrastructure/coreos-config/plays/services/wkd/docker-compose.yaml

24 lines
562 B
YAML
Raw Normal View History

2023-03-27 11:04:52 +02:00
---
version: "3.4"
services:
wkd:
2023-04-15 21:43:02 +02:00
image: caddy:2
2023-03-27 11:04:52 +02:00
labels:
- "traefik.enable=true"
- "traefik.http.routers.wkd.rule=(Host(`tobiasmanske.de`) && PathPrefix(`/{path:.well-known/openpgpkey}/`))"
- "traefik.http.routers.wkd.entryPoints=websecure"
2023-04-15 21:43:02 +02:00
- "traefik.http.routers.wkd.priority=100"
2023-03-27 11:04:52 +02:00
- "traefik.http.services.wkd.loadbalancer.server.port=80"
restart: always
volumes:
2023-04-15 21:43:02 +02:00
- ./Caddyfile:/etc/caddy/Caddyfile:ro,z
2023-03-27 11:04:52 +02:00
- ./data:/data:ro,Z
networks:
- gateway
networks:
gateway:
external: true
...