+ heroku docker

This commit is contained in:
felegy
2022-06-10 15:06:45 +02:00
parent 039d95726c
commit e68f6ff23d
17 changed files with 5478 additions and 114 deletions

15
.profile.d/999-app.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
SECRETS_PATH=${SECRETS_PATH:-"/run/secrets"};
SECRETS_FORCE=${SECRETS_FORCE:-1};
if [ -d "${SECRETS_PATH}" ]; then
for file in "${SECRETS_PATH}/*"; do
name=$(basename $file);
if [ -z ${!name} ] || [ ${SECRETS_FORCE} = 1 ]; then
export "${name}=$( echo $(< $file) | tr '\n' ' ')";
fi
done
fi
export PATH="${HOME}/bin:${PATH}"