Last modified by root_xwiki on 2025/10/18 07:49

From version 1.4
edited by root_xwiki
on 2025/10/18 04:51
Change comment: There is no comment for this version
To version 4.1
edited by root_xwiki
on 2025/10/18 06:35
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,9 +1,27 @@
1 -~1. sudo umask 0022
1 +{{{
2 + }}}
2 2  
3 -2. cd /opt
4 +##1. sudo mkdir -p /opt/netbox-docker##
4 4  
5 -3. git clone -b release [[https:~~/~~/github.com/netbox-community/netbox-docker.git>>https://github.com/netbox-community/netbox-docker.git]]
6 +##2. sudo chown $USER:$USER /opt/netbox-docker##
6 6  
7 -4.
8 +##3. cd cd /opt##
8 8  
9 -
10 +##4. git clone -b release [[https:~~/~~/github.com/netbox-community/netbox-docker.git>>https://github.com/netbox-community/netbox-docker.git]]##
11 +
12 +(% style="font-family:Menlo,Monaco,Consolas,Courier New,monospace; white-space:pre" %)##5. cd netbox-docker##
13 +
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##
26 +
27 +##8. ##docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser