GNAI-025: FLUXER_SETUP_TOKEN in die fluxer-Services injiziert (Setup-Screen First-Run)
Der Setup-Screen der v1-Images verlangt FLUXER_SETUP_TOKEN (>= 32 Zeichen) aus der Container-Umgebung; die gepinnte Pre-rexctl-Compose reicht ihn nicht durch (rexctl gibt es erst auf main). Die Override injiziert den Wert aus dem guest-generierten Secrets-File via .env in alle fluxerapp-Services; secret_specs um FLUXER_SETUP_TOKEN (32) ergänzt, damit frische Deployments ihn generieren. Auf dem bestehenden CT existierte der Wert bereits (frühere Rollenversion), der Lauf war daher changed=2 und grün. Verifiziert: FLUXER_SETUP_TOKEN in fluxer_api_1 env sichtbar; site33 failed=0. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -93,6 +93,10 @@ fluxer_stack_service_livekit: livekit
|
||||
# Plus FLUXER_MEDIA_PROXY_UPLOAD_RELAY_SECRET_BASE64 (base64) and the
|
||||
# FLUXER_VAPID_* P-256 keypair, both generated in the same one-time task.
|
||||
fluxer_stack_secret_specs:
|
||||
# FLUXER_SETUP_TOKEN: first-run setup screen bootstrap token (>= 32 chars);
|
||||
# the v1 images read it from the container env, the pinned pre-rexctl
|
||||
# compose does not wire it — the override injects it (site33).
|
||||
FLUXER_SETUP_TOKEN: 32
|
||||
FLUXER_CONNECTION_INITIATION_SECRET: 32
|
||||
FLUXER_GATEWAY_RPC_AUTH_TOKEN: 32
|
||||
FLUXER_ERLANG_COOKIE: 32 # runtime-required by the gateway image (not a ${:?})
|
||||
|
||||
+5
@@ -29,6 +29,11 @@ services:
|
||||
# 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}
|
||||
# setup-token bootstrap (setup screen on first run): the v1 images read
|
||||
# FLUXER_SETUP_TOKEN (>= 32 chars) from the container env; the pinned
|
||||
# pre-rexctl compose does not wire it, so inject the value from the
|
||||
# guest-generated secrets file via the .env (site33).
|
||||
FLUXER_SETUP_TOKEN: ${FLUXER_SETUP_TOKEN:?set in .env}
|
||||
{% endif %}
|
||||
{% if svc == 'gateway' %}
|
||||
FLUXER_ERLANG_COOKIE: ${FLUXER_ERLANG_COOKIE:?set in .env}
|
||||
|
||||
Reference in New Issue
Block a user