bridgehead/start-bridgehead.sh

19 lines
373 B
Bash
Raw Normal View History

2021-12-27 14:41:54 +01:00
#!/bin/bash
### Note: Currently not complete, needs some features before useable for production
if ! ./prerequisites.sh; then
echo "Prerequisites failed, exiting"
exiting
fi
2021-12-27 14:41:54 +01:00
source site.conf
echo "Starting bridgehead"
cd ${project}
docker-compose --env-file ../site-config/${project}.env up -d
cd ..
echo "The bridgehead should be in online in a few seconds"