Deploy customized stirling-pdf and fix reverse proxy
Use "network_mode: host" to make the reverse proxy work.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user