Move all .env refs to .conf
This commit is contained in:
parent
c6865624e5
commit
ce10b41bbb
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue