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"
|
|
|
|
|
2022-09-05 16:01:56 +02:00
|
|
|
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"
|