bridgehead/start-bridgehead.sh

19 lines
421 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 ! lib/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
./lib/generate.sh
2022-01-10 16:31:48 +01:00
log "Starting bridgehead"
2021-12-27 14:41:54 +01:00
docker-compose -f ${project}/docker-compose.yml --env-file site-config/${project}.env up -d
2021-12-27 14:41:54 +01:00
2022-01-10 16:31:48 +01:00
log "The bridgehead should be in online in a few seconds"