bridgehead/start-bridgehead.sh

19 lines
483 B
Bash
Raw Normal View History

2022-02-16 09:59:53 +01:00
#!/bin/bash
### Note: Currently not complete, needs some features before useable for production
source lib/functions.sh
if ! lib/prerequisites.sh; then
log "Prerequisites failed, exiting"
exit
fi
source site.conf
./lib/generate.sh
log "Starting bridgehead"
docker-compose -f <(docker run --rm --volume ${pwd}/${project}/:/tmp/workdir/ samply/templer /tmp/workdir/docker-compose.yml TEST="TEST_0 TEST_1") config
2022-02-16 09:59:53 +01:00
log "The bridgehead should be in online in a few seconds"