2021-12-27 14:41:54 +01:00
|
|
|
#!/bin/bash
|
|
|
|
### Note: Currently not complete, needs some features before useable for production
|
|
|
|
|
2022-01-04 15:26:34 +01:00
|
|
|
if ! ./prerequisites.sh; then
|
|
|
|
echo "Prerequisites failed, exiting"
|
2022-01-08 09:46:45 +01:00
|
|
|
exit
|
2022-01-04 15:26:34 +01:00
|
|
|
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"
|