Changes for page Docker: Установка NetBox
Last modified by root_xwiki on 2025/10/18 07:49
From version 1.6
edited by root_xwiki
on 2025/10/18 05:02
on 2025/10/18 05:02
Change comment:
There is no comment for this version
To version 3.1
edited by root_xwiki
on 2025/10/18 06:32
on 2025/10/18 06:32
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,12 +1,25 @@ 1 -{{{ 1. sudo mkdir -p /opt/netbox-docker2 - 2.sudo chown $USER:$USER /opt/netbox-docker}}}1 +{{{ 2 + }}} 3 3 4 - 3.cd/opt4 +##1. sudo mkdir -p /opt/netbox-docker## 5 5 6 +##2. sudo chown $USER:$USER /opt/netbox-docker## 6 6 8 +##3. cd cd /opt## 7 7 8 - 3. git clone -b release [[https:~~/~~/github.com/netbox-community/netbox-docker.git>>https://github.com/netbox-community/netbox-docker.git]]10 +##4. git clone -b release [[https:~~/~~/github.com/netbox-community/netbox-docker.git>>https://github.com/netbox-community/netbox-docker.git]]## 9 9 10 - 4.12 +(% style="font-family:Menlo,Monaco,Consolas,Courier New,monospace; white-space:pre" %)##5. cd netbox-docker## 11 11 12 - 14 +{{{6. 15 +}}} 16 + 17 +{{{tee docker-compose.override.yml <<EOF 18 +services: 19 + netbox: 20 + ports: 21 + - 8001:8080 22 +EOF 23 +}}} 24 + 25 +##7. docker compose up -d##