Update build.sh
This commit is contained in:
parent
fdcd10550f
commit
933cbdca5d
5
build.sh
5
build.sh
@ -90,6 +90,11 @@ do
|
|||||||
find bind -type f | sed -e "s@bind/@@g" | xargs -I '{}' cp --verbose bind/{} /etc/bind/$netname/{}
|
find bind -type f | sed -e "s@bind/@@g" | xargs -I '{}' cp --verbose bind/{} /etc/bind/$netname/{}
|
||||||
# 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user