infrastructure/ansible/plays/services/wkd/docker-compose.yaml

19 lines
594 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"
2024-01-22 18:56:17 +01:00
- "traefik.docker.network=${COMPOSE_PROJECT_NAME}_default"
2024-02-01 11:36:32 +01:00
- "traefik.http.routers.wkd.rule=(Host(`tobiasmanske.de`) && PathPrefix(`/{path:.well-known/openpgpkey}/`) || Host(`openpgpkey.tobiasmanske.de`))"
2023-03-27 11:04:52 +02:00
- "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
...