Move all .env refs to .conf

This commit is contained in:
Patrick Skowronek 2022-05-17 09:37:20 +02:00
parent c6865624e5
commit ce10b41bbb
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -51,8 +51,8 @@ if [ -z "$SITE_NAME" ]; then
fi
#check if project env is present
if [ -d "/etc/bridgehead/${PROJECT}.env" ]; then
log ERROR "Project config not found. Please copy the template from ${PROJECT} and put it under /etc/bridgehead-config/${PROJECT}.env."
if [ -d "/etc/bridgehead/${PROJECT}.conf" ]; then
log ERROR "Project config not found. Please copy the template from ${PROJECT} and put it under /etc/bridgehead-config/${PROJECT}.conf."
exit 1
fi