Update docker-compose.yml, build.sh files
This commit is contained in:
parent
99eacecb23
commit
89504a506e
2
build.sh
2
build.sh
@ -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' -exec sh -c 'sigil -f {} -p $sigil_vars > "$(dirname {})/$(basename {} .tmpl)"' {} \;
|
||||||
find /etc/bird/$netname/ -type f -name '*.tmpl' | xargs -I '{}' rm -f {}
|
find /etc/bird/$netname/ -type f -name '*.tmpl' | xargs -I '{}' rm -f {}
|
||||||
|
|
||||||
#docker-compose up -d --build
|
docker-compose up -d --build
|
||||||
|
|
||||||
# Pop directory
|
# Pop directory
|
||||||
cd $topdir
|
cd $topdir
|
||||||
|
@ -26,7 +26,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "179:179/tcp"
|
- "179:179/tcp"
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/bird/${NETNAME}:/etc/bird/${NETNAME}
|
- /etc/bird/${NETNAME}:/etc/bird/
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
restart: always
|
restart: always
|
||||||
|
Loading…
x
Reference in New Issue
Block a user