infrastructure/ansible/plays/services/paperless-proxy/docker-compose.yaml

17 lines
476 B
YAML

---
version: "3.4"
services:
proxy:
image: caddy:2
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro,z
labels:
- "traefik.enable=true"
- "traefik.docker.network=${COMPOSE_PROJECT_NAME}_default"
- "traefik.http.routers.paperlessproxy.rule=Host(`paperless.tobiasmanske.de`)"
- "traefik.http.routers.paperlessproxy.entryPoints=websecure"
- "traefik.http.services.paperlessproxy.loadbalancer.server.port=80"
restart: always
...