Files
computer-playbook/compose/coredns
kevinveenbirkenbachandClaude Opus 4.7 12a56e449d refactor(env): move env/default.env to repo-root default.env and drop env/
With env.development and env/ci.env both gone, env/default.env was the
last inhabitant of the directory. Hoisting it to the repo root removes
the empty-shell indirection: the SPOT is now [default.env](default.env),
sitting next to .env (its generated companion) and other repo-root
configuration artefacts like compose.yml, Dockerfile, and Makefile.

Path updates land in:
- generator: cli/meta/env/__main__.py (REPO_ROOT / "default.env")
- workflow: .github/workflows/test-install-make.yml (awk reads from
  default.env, error message updated in lockstep)
- lint tests: test_used_keys_declared.py and test_infinito_prefix.py
  switched from globbing env/*.env to targeting default.env directly;
  test_default_env_keys_handled.py points at the new path
- drift test: test_inventory_vars_file_spot.py whitelist + STATIC_ENV
- smoke test: tests/integration/meta/env/test_dotenv_generator.py
  STATIC_ENV + every docstring/error message

Doc-string and prose references in utils/env/*, scripts/*,
cli/administration/deploy/development/{common,coredns}.py,
Makefile, Dockerfile, and every doc page that mentioned env/default.env
are rewritten in the same pass so future readers see one path.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 16:22:33 +02:00
..

CoreDNS Sidecar Config 🛰️

Static configuration for the coredns service in compose.yml. The sidecar resolves the dev/CI stack's internal hostnames so the infinito runner can reach its own applications without hitting an external resolver.

Scope 📋

  • This directory MUST contain only files consumed by the coredns compose service.
  • The Corefile.tmpl MUST be the source of truth. It is rendered to Corefile by coredns.py via envsubst, using values from .env (generated from default.env, overridable through the CLI's environment).
  • The rendered Corefile is build artefact and MUST stay in .gitignore.

Files 📄

  • Corefile.tmpl: envsubst template processed at stack start.
  • Corefile: rendered output, bind-mounted read-only into the coredns container at /Corefile.