mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
- 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
10 lines
444 B
YAML
10 lines
444 B
YAML
# 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"
|