mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-23 00:20:40 +07:00
fix(infra): working container entrypoint; add local-only ports override
- compose.yaml: set -a before sourcing (sourced assignments were shell-only, envsubst saw nothing) + inline nginx command (a compose entrypoint override drops the image CMD; empty $@ exit-0 restart-looped locally and on the VPS) - compose.override.yaml: local-only auto-merged override publishing 127.0.0.1:8081 (8080 taken on the dev machine); never shipped by the pipeline - verified locally end-to-end: stack Up, probe 200, rendered default.conf carries real values, nginx -t OK; built site + 401-protected /api/content/ served through the published port - docs: spec D13/§4.1 entrypoint corrected, §6 port-exposure open question + docker inspect check, rows 4/9; README local-stack section; AGENTS.md inventory
This commit is contained in:
1 parent
a5a525ff14
commit
cf216e5962
5 files changed
+29
-13
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# Local-only compose override (compose spec: `docker compose` auto-merges this
|
||||
# file on top of compose.yaml). The deploy-infra pipeline rsyncs exactly
|
||||
# nginx.conf / compose.yaml / deploy/htpasswd — never this file — so the VPS
|
||||
# stack is unaffected. It publishes the container on the local loopback so the
|
||||
# site is reachable from a browser for testing the real serving path.
|
||||
services:
|
||||
dong-site:
|
||||
ports:
|
||||
- "127.0.0.1:8081:80"
|
||||
Reference in new issue
Block a user