Refactor fetchVarsFromVault

This commit is contained in:
Martin Lablans
2022-05-31 09:22:38 +02:00
parent b19402476b
commit 9f76b0c739
2 changed files with 22 additions and 16 deletions

View File

@ -44,7 +44,7 @@ esac
case "$ACTION" in
start)
checkRequirements
fetchVarsFromVault /etc/bridgehead/$PROJECT.conf || exit 1
fetchVarsFromVaultByFile /etc/bridgehead/$PROJECT.conf || exit 1
exec docker-compose -f ./$PROJECT/docker-compose.yml --env-file /etc/bridgehead/$PROJECT.conf up
;;
stop)