bridgehead/start-bridgehead.sh

21 lines
392 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
2022-01-10 16:31:48 +01:00
source lib/functions.sh
if ! ./prerequisites.sh; then
2022-01-10 16:31:48 +01:00
log "Prerequisites failed, exiting"
exit
fi
2021-12-27 14:41:54 +01:00
source site.conf
2022-01-10 16:31:48 +01:00
log "Starting bridgehead"
2021-12-27 14:41:54 +01:00
cd ${project}
docker-compose --env-file ../site-config/${project}.env up -d
cd ..
2022-01-10 16:31:48 +01:00
log "The bridgehead should be in online in a few seconds"