chore(env): load runtime secrets from local .secrets/runtime.env
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user