Deploy customized stirling-pdf and fix reverse proxy

Use "network_mode: host" to make the reverse proxy work.
This commit is contained in:
Julian Schacher
2024-02-15 19:12:27 +01:00
parent 89fda37a38
commit 4400ff9b93
4 changed files with 38 additions and 3 deletions

View File

@@ -5,9 +5,7 @@
services:
caddy:
image: caddy
ports:
- "80:80"
- "443:443"
network_mode: host
volumes:
- "./Caddyfile:/etc/caddy/Caddyfile:ro"
- "/ansible_docker_compose/project_data/reverse-proxy/caddy/data:/data"