Fix docker overrides for nginx config.
This commit is contained in:
parent
58bc2a0528
commit
bd21f130e8
2 changed files with 5 additions and 1 deletions
|
|
@ -11,4 +11,6 @@ services:
|
|||
ports:
|
||||
- "127.0.0.1:8081:80"
|
||||
volumes:
|
||||
# Same target path as the base file's TLS template bind — overrides it,
|
||||
# so only ONE template is rendered (both define `upstream api`).
|
||||
- ./deploy/nginx/templates/contract-check-http.conf.template:/etc/nginx/templates/contract-check.conf.template:ro
|
||||
|
|
|
|||
|
|
@ -436,7 +436,9 @@ services:
|
|||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./deploy/nginx/templates:/etc/nginx/templates:ro
|
||||
# Mount exactly ONE template — rendering both would duplicate `upstream api`.
|
||||
# The VPS override (deploy/vps/) swaps in contract-check-http.conf.template here.
|
||||
- ./deploy/nginx/templates/contract-check.conf.template:/etc/nginx/templates/contract-check.conf.template:ro
|
||||
- certbot-data:/etc/letsencrypt:ro
|
||||
- certbot-webroot:/var/www/certbot:ro
|
||||
environment:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue