aboutsummaryrefslogtreecommitdiffstats
path: root/tools/netbox/scripts/start-testenv.sh
diff options
context:
space:
mode:
authorSjur Fredriksen <sjurtf@ifi.uio.no>2025-04-22 22:49:15 +0200
committerSjur Fredriksen <sjurtf@ifi.uio.no>2025-04-22 22:49:39 +0200
commitd98b28fb005d6c379299175a3aedc15f56cfa925 (patch)
tree45b5b3a702aad0a83a570b87ecc0758a3d4d0f80 /tools/netbox/scripts/start-testenv.sh
parent5aaf88e07130007016de778dce44f8ee88f01d56 (diff)
chore: dump tg25 templates/netconfig
Diffstat (limited to 'tools/netbox/scripts/start-testenv.sh')
-rwxr-xr-xtools/netbox/scripts/start-testenv.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/netbox/scripts/start-testenv.sh b/tools/netbox/scripts/start-testenv.sh
new file mode 100755
index 0000000..011d2f5
--- /dev/null
+++ b/tools/netbox/scripts/start-testenv.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env sh
+
+git clone -b release https://github.com/netbox-community/netbox-docker.git
+cd netbox-docker
+tee docker-compose.override.yml <<EOF
+services:
+ netbox:
+ ports:
+ - 8000:8080
+EOF
+docker compose pull
+docker compose up \ No newline at end of file