chore(env): load runtime secrets from local .secrets/runtime.env

This commit is contained in:
Prime Backup Bot
2026-03-11 17:57:13 +00:00
parent b389097fa0
commit 381b6d0571
+5
View File
@@ -3,3 +3,8 @@
export PATH="/srv/prime-core/bin:$PATH"
# set this to a long random passphrase (do not commit)
export PRIME_VAULT_KEY="${PRIME_VAULT_KEY:-CHANGE_ME}"
if [ -f /srv/prime-core/.secrets/runtime.env ]; then
set -a
. /srv/prime-core/.secrets/runtime.env
set +a
fi