Removed ref to site.conf
This commit is contained in:
parent
0b48ebb44a
commit
c6865624e5
|
@ -41,16 +41,14 @@ case "$PROJECT" in
|
|||
;;
|
||||
esac
|
||||
|
||||
source /etc/bridgehead/site.conf
|
||||
|
||||
case "$ACTION" in
|
||||
start)
|
||||
checkRequirements
|
||||
fetchVarsFromVault /etc/bridgehead/site.conf /etc/bridgehead/$PROJECT.env || exit 1
|
||||
exec docker-compose -f ./$PROJECT/docker-compose.yml --env-file /etc/bridgehead/$PROJECT.env up
|
||||
exec docker-compose -f ./$PROJECT/docker-compose.yml --env-file /etc/bridgehead/$PROJECT.conf up
|
||||
;;
|
||||
stop)
|
||||
exec docker-compose -f ./$PROJECT/docker-compose.yml --env-file /etc/bridgehead/$PROJECT.env down
|
||||
exec docker-compose -f ./$PROJECT/docker-compose.yml --env-file /etc/bridgehead/$PROJECT.conf down
|
||||
;;
|
||||
update)
|
||||
exec ./lib/update-bridgehead.sh $PROJECT
|
||||
|
|
|
@ -63,3 +63,7 @@ fetchVarsFromVault() {
|
|||
|
||||
return 0
|
||||
}
|
||||
|
||||
##Setting Network properties
|
||||
export HOSTIP=$(MSYS_NO_PATHCONV=1 docker run --rm --add-host=host.docker.internal:host-gateway ubuntu cat /etc/hosts | grep 'host.docker.internal' | awk '{print $1}');
|
||||
export HOST=$(hostname)
|
Loading…
Reference in New Issue