Added start and stop bridgehead scripts

This commit is contained in:
Patrick Skowronek 2021-12-27 13:24:17 +01:00
parent 37d3d3f203
commit 3bece85717
2 changed files with 24 additions and 0 deletions

15
start-bridgehead.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
### Note: Currently not complete, needs some features before useable for production
./prerequisites.sh
source site.conf
echo "Starting bridgehead"
cd ${project}
docker-compose --env-file ../site-config/${project}.env up
cd ..
echo "The bridgehead should be in online in a few seconds"

9
stop-bridgehead.sh Normal file
View File

@ -0,0 +1,9 @@
echo "Stoping bridgehead"
source site.conf
cd ${project}
docker-compose --env-file ../site-config/{project}.env down
cd ..