Fix otbr deployemnt

This commit is contained in:
2025-12-30 12:58:06 +01:00
parent 708b26886b
commit 64ff87f587
3 changed files with 7 additions and 17 deletions

View File

@@ -1,6 +1,8 @@
#!/bin/sh
git pull
docker stop otbr
docker rm otbr
docker compose down
if [ "$1" != "preserve" ]; then
@@ -9,5 +11,7 @@ fi
docker compose up -d --force-recreate
docker run --name=otbr --detach --network=host --cap-add=NET_ADMIN --device=/dev/ttyUSB0:/dev/ttyACM0 --device=/dev/net/tun --volume=/var/lib/otbr:/data --env-file=./otbr-env.list --restart=always openthread/border-router
source ./bin/activate
python3 ./main.py
python3 ./main.py