adapt stirling-pdf to caddy
This commit is contained in:
parent
128ddaa95f
commit
66f0eddb95
2 changed files with 6 additions and 7 deletions
|
@ -73,6 +73,11 @@ torrent.{$DOMAIN} http://torrent.{$DOMAIN} {
|
||||||
import errorhandler
|
import errorhandler
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pdf.{$DOMAIN} http://pdf.{$DOMAIN} {
|
||||||
|
reverse_proxy stirling-pdf:8080
|
||||||
|
import errorhandler
|
||||||
|
}
|
||||||
|
|
||||||
root-ca.{$DOMAIN} http://root-ca.{$DOMAIN} {
|
root-ca.{$DOMAIN} http://root-ca.{$DOMAIN} {
|
||||||
file_server * {
|
file_server * {
|
||||||
root /usr/share/caddy/web
|
root /usr/share/caddy/web
|
||||||
|
|
|
@ -13,13 +13,7 @@ services:
|
||||||
# - ${VOLUMES_PATH}/tools/stirling-pdf/logs:/logs/
|
# - ${VOLUMES_PATH}/tools/stirling-pdf/logs:/logs/
|
||||||
environment:
|
environment:
|
||||||
- DOCKER_ENABLE_SECURITY=false
|
- 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:
|
networks:
|
||||||
paperless:
|
paperless:
|
||||||
|
|
Loading…
Add table
Reference in a new issue