Update build.sh
This commit is contained in:
parent
fdcd10550f
commit
933cbdca5d
5
build.sh
5
build.sh
@ -91,6 +91,11 @@ do
|
|||||||
# Fill out templates and remove them after
|
# Fill out templates and remove them after
|
||||||
process_templates "/etc/bind/$netname/" "$sigil_vars"
|
process_templates "/etc/bind/$netname/" "$sigil_vars"
|
||||||
|
|
||||||
|
# Docker
|
||||||
|
# Copy template to directory
|
||||||
|
cp ./../docker-compose.yml.tmpl .
|
||||||
|
process_templates "." "$sigil_vars"
|
||||||
|
|
||||||
echo $sigil_vars | tr ' ' '\n' > .env
|
echo $sigil_vars | tr ' ' '\n' > .env
|
||||||
docker-compose -p $netname down
|
docker-compose -p $netname down
|
||||||
docker-compose -p $netname up -d --build --remove-orphans
|
docker-compose -p $netname up -d --build --remove-orphans
|
||||||
|
Loading…
x
Reference in New Issue
Block a user