GNAI-025: Override injiziert runtime-required Secrets (FLUXER_ERLANG_COOKIE gateway, FLUXER_PROFILE_PSEUDONYM_SECRET alle fluxer-Services); unit mit --force-recreate (podman-compose recreatet sonst nicht bei .env-Änderung)
ci-static / secret-scan (push) Successful in 26s
ci-static / yamllint (push) Successful in 56s
ci-static / ansible-syntax (push) Successful in 31s
ci-static / markdown-links (push) Successful in 21s

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-11-30 01:41:42 +01:00
co-authored by Mistral Vibe
parent 32c0ace032
commit bdc54a32b1
2 changed files with 12 additions and 1 deletions
@@ -18,6 +18,15 @@ services:
{{ svc }}:
<<: *ghostnet-defaults
image: {{ image }}
environment:
{% if 'fluxerapp' in image %}
# runtime-required by the fluxer images but not wired in the upstream
# compose anchor at 3b1eb567 — injected here explicitly
FLUXER_PROFILE_PSEUDONYM_SECRET: ${FLUXER_PROFILE_PSEUDONYM_SECRET:?set in .env}
{% endif %}
{% if svc == 'gateway' %}
FLUXER_ERLANG_COOKIE: ${FLUXER_ERLANG_COOKIE:?set in .env}
{% endif %}
{% if svc == fluxer_stack_service_edge %}
profiles:
- ghostnet-disabled-edge
@@ -12,7 +12,9 @@ ConditionPathExists={{ fluxer_stack_directory }}/docker-compose.ghostnet.yml
Type=oneshot
RemainAfterExit=yes
WorkingDirectory={{ fluxer_stack_directory }}
ExecStart=/usr/bin/podman-compose --project-name fluxer -f {{ fluxer_stack_compose_file }} -f {{ fluxer_stack_override_file }} up -d
# --force-recreate: podman-compose does not reliably recreate containers on
# .env changes, so force it to converge env/config on every start
ExecStart=/usr/bin/podman-compose --project-name fluxer -f {{ fluxer_stack_compose_file }} -f {{ fluxer_stack_override_file }} up -d --force-recreate
ExecStop=/usr/bin/podman-compose --project-name fluxer -f {{ fluxer_stack_compose_file }} -f {{ fluxer_stack_override_file }} down
TimeoutStartSec=1800
TimeoutStopSec=180