docker-compose.yml sets ALLOWED_ADMIN_HOSTS but no code reads it #12
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While cleaning up the dead
ALLOWED_ADMIN_IPSenv var indocker-compose.yml(Task 14 of the network-access-control plan), I noticedALLOWED_ADMIN_HOSTSin the sameenvironment:block also has no consumer:routes_config.rshas a comment confirming this is intentional-ish: "Note: allowed_admin_hosts is intentionally absent — admin host is set via [admin] block" — so the admin host is configured through the TOML[admin]block instead, and this env var line indocker-compose.ymlis stale, same class of issue as theALLOWED_ADMIN_IPSline that was just removed.Out of scope for Task 14 (which only covered
ALLOWED_ADMIN_IPSfrom theallowed_ips→access_rulesmigration), so logging rather than fixing inline. Likely fix: remove theALLOWED_ADMIN_HOSTS=...line fromdocker-compose.yml'senvironment:block, same as was just done forALLOWED_ADMIN_IPS.