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

@ -90,6 +90,11 @@ do
find bind -type f | sed -e "s@bind/@@g" | xargs -I '{}' cp --verbose bind/{} /etc/bind/$netname/{}
# 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