storytellurx-v1/deploy/entrypoint.sh
Elias Rhouzlane e170af29ba feat: reopen V1 (/ is the start page again); run on the HEAD VPS with doco-cd
The maintenance page of 10 Feb 2026 replaced / only; /start, /chat, /about kept
working. deploy/ builds what mf.toml builds, with the secrets MF had now in
fnox.toml (age: Elias + the HEAD VPS key), served at v1.storytellurx.fuckingtech.ch.
2026-11-03 18:02:55 +01:00

7 lines
284 B
Shell
Executable file

#!/bin/sh
# Decrypts fnox.toml's secrets with the host's age key (mounted at /run/secrets/age_key) into the
# environment of the command only: never written to disk, never a Docker env var.
set -eu
FNOX_AGE_KEY="$(cat /run/secrets/age_key)"
export FNOX_AGE_KEY
exec fnox exec -- "$@"