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

17 lines
476 B
YAML
Raw Normal View History

2024-02-01 01:06:26 +01:00
---
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
...