Update docker-compose.yml, build.sh files

This commit is contained in:
sump pump 2020-05-21 21:46:02 +00:00
parent 99eacecb23
commit 89504a506e
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ do
find /etc/bird/$netname/ -type f -name '*.tmpl' -exec sh -c 'sigil -f {} -p $sigil_vars > "$(dirname {})/$(basename {} .tmpl)"' {} \;
find /etc/bird/$netname/ -type f -name '*.tmpl' | xargs -I '{}' rm -f {}
#docker-compose up -d --build
docker-compose up -d --build
# Pop directory
cd $topdir

View File

@ -26,7 +26,7 @@ services:
ports:
- "179:179/tcp"
volumes:
- /etc/bird/${NETNAME}:/etc/bird/${NETNAME}
- /etc/bird/${NETNAME}:/etc/bird/
cap_add:
- NET_ADMIN
restart: always