fix(compose): expose INFINITO_CONTAINER_NO_CA to the infinito container

Same KeyError class as 28e7c20cf (INFINITO_SERVICES_DISABLED):
roles/sys-svc-container/files/container.py:450 reads
os.environ["INFINITO_CONTAINER_NO_CA"] strictly. The variable is
emitted into the host shell .env via passthrough.STATIC_KEYS, but the
compose `environment:` block did not forward it, so docker compose
substitution was never wired into the container.

Triggers as soon as the DinD-DNS handler (sys-svc-container/handlers)
invokes `container run` from inside test-dns.sh, well past the first
visible failure point. With this entry the inner container.py reads
"" (the env/default.env default) and treats CA injection as enabled
— the intended behaviour.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
kevinveenbirkenbachandClaude Opus 4.7 committed 2026-05-21 04:25:22 +02:00
1 parent f4952e5151
commit b26f7f0169
1 file changed
+1
+1
View File
@@ -73,6 +73,7 @@ services:
- letsencrypt:/etc/letsencrypt/
environment:
INFINITO_CONTAINER_NO_CA: ${INFINITO_CONTAINER_NO_CA}
INFINITO_DNS_IP: ${INFINITO_DNS_IP}
INFINITO_DOMAIN: ${INFINITO_DOMAIN}
INFINITO_IP4: ${INFINITO_IP4}