Repository navigation
Conversation
Parallel host-* targets keep local-* unchanged while publishing the lab on a single LAB_HOST; rename the ES volume to avoid host collisions.
Resolve conflicts by keeping host-mode Traefik targets alongside spie authz (lab_token, lab-grant, personas docs) and aligning monitor/CORS for LAB_HOST.
Host modes bind-mount Postgres and CMS /tmp under ./data, and host-env-init writes COMPOSE_FILE so docker compose up/down works without make.
|
Merge recommendation: ⛔ don't merge — recommend closing Maintainer decision: the lab will not have its own host mode. Host deployments of the control plane go through https://github.com/zebbra/neops-docker-compose ( This branch is 56 commits behind Blocking:
Notes:
Verified locally: worktree at the PR head
Not verified: host mode itself, on a host with |
# Conflicts: # .env.example # Makefile # README.md # docs/10-concepts/10-architecture.md # docs/20-operations/20-images.md # docs/20-operations/index.md # mkdocs_custom.yml # pyproject.toml # scenarios/_base/cms/oidc-config.host.json.template # tools/import_host_scripts.py
Since the merge of develop, docker-compose.yml and docker-compose.worker.yml
refuse to interpolate without SCENARIO and the LAB_* ports, networks and
subnets, so the bare `docker compose` that host mode promises failed with
"required variable ... is missing a value". gen_compose_env now copies every
${NAME:?} the selected compose files name from make's environment into .env,
and refuses to run when one is unset.
Summary
/cms,/engine,/monitor,/djstatic, dashboard at/traefik) withcms-proxyfor Django redirects and cross-origin monitor iframe auth (:8443/:3031).LAB_HOST, no reverse proxy) and parallelhost-*/host-direct-*make targets that leavelocal-*unchanged./tmpunder./data/(docker-compose.host-data.yml); Elasticsearch/Redis stay ephemeral.make host-env-initwritesCOMPOSE_FILEinto.envso baredocker compose up/downworks on the host.Test plan
make test/make py39-check/make shell-syntaxLAB_HOST+LAB_SCHEME, runmake host-env-init, confirm.envhasCOMPOSE_FILE, thendocker compose ps/up -d/downwithout make./data/postgresand./data/cms_tmpare created and survivecompose downhttps://LAB_HOST/, accept cert once onhttps://LAB_HOST:8443/, open monitor via web-client menu (iframe auth)make host-check-cmskeeps/cmson admin redirects;/djstaticreaches CMSmake host-env-downthenmake host-direct-env-initand hit:8080/:8001/:3030/:3031