adapt stirling-pdf to caddy

This commit is contained in:
Florian Zirker 2025-03-16 17:46:36 +01:00
parent 128ddaa95f
commit 66f0eddb95
2 changed files with 6 additions and 7 deletions

View file

@ -73,6 +73,11 @@ torrent.{$DOMAIN} http://torrent.{$DOMAIN} {
import errorhandler
}
pdf.{$DOMAIN} http://pdf.{$DOMAIN} {
reverse_proxy stirling-pdf:8080
import errorhandler
}
root-ca.{$DOMAIN} http://root-ca.{$DOMAIN} {
file_server * {
root /usr/share/caddy/web

View file

@ -13,13 +13,7 @@ services:
# - ${VOLUMES_PATH}/tools/stirling-pdf/logs:/logs/
environment:
- DOCKER_ENABLE_SECURITY=false
labels:
- "traefik.enable=true"
- "traefik.http.routers.pdf.rule=Host(`pdf.${DOMAIN}`)"
- "traefik.http.routers.pdf.entrypoints=web"
- "traefik.http.services.pdf.loadbalancer.server.port=8080"
- "traefik.docker.network=web"
- "docker.group=tools"
networks:
paperless: