mirror of
https://github.com/samply/bridgehead.git
synced 2025-06-17 04:50:15 +02:00
Added start and stop bridgehead scripts
This commit is contained in:
15
start-bridgehead.sh
Normal file
15
start-bridgehead.sh
Normal 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
9
stop-bridgehead.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
echo "Stoping bridgehead"
|
||||||
|
|
||||||
|
source site.conf
|
||||||
|
|
||||||
|
cd ${project}
|
||||||
|
|
||||||
|
docker-compose --env-file ../site-config/{project}.env down
|
||||||
|
|
||||||
|
cd ..
|
Reference in New Issue
Block a user