Update build.sh

This commit is contained in:
sump pump 2020-06-28 13:50:55 -06:00 committed by GitHub
parent fdcd10550f
commit 933cbdca5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,6 +91,11 @@ do
# Fill out templates and remove them after
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
docker-compose -p $netname down
docker-compose -p $netname up -d --build --remove-orphans