Added start and stop bridgehead scripts
This commit is contained in:
parent
37d3d3f203
commit
3bece85717
|
@ -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"
|
|
@ -0,0 +1,9 @@
|
||||||
|
echo "Stoping bridgehead"
|
||||||
|
|
||||||
|
source site.conf
|
||||||
|
|
||||||
|
cd ${project}
|
||||||
|
|
||||||
|
docker-compose --env-file ../site-config/{project}.env down
|
||||||
|
|
||||||
|
cd ..
|
Loading…
Reference in New Issue