aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker-compose.yml2
-rw-r--r--update.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 08c2834..3d46bf6 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -163,6 +163,8 @@ volumes:
networks:
netbird:
driver: bridge
+ driver_opts:
+ com.docker.network.bridge.trusted_host_interfaces: "wt0"
ipam:
config:
- subnet: 172.30.0.0/24
diff --git a/update.sh b/update.sh
index 9fe4464..070f6ba 100644
--- a/update.sh
+++ b/update.sh
@@ -2,6 +2,6 @@
set -euo pipefail
apt update
-apt -y upgrade netbird
+apt install --only-upgrade netbird
docker compose pull
docker compose up -d --force-recreate