You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Netbox](https://github.com/netbox-community/netbox) is an IP address management (IPAM) and data center infrastructure management (DCIM) tool. Initially conceived by the network engineering team at DigitalOcean, NetBox was developed specifically to address the needs of network and infrastructure engineers. It is intended to function as a domain-specific source of truth for network operations.
24
23
@@ -73,10 +72,12 @@ services:
73
72
- DB_PORT=
74
73
- REDIS_HOST=
75
74
- REDIS_PORT=
75
+
- REDIS_USERNAME=
76
76
- REDIS_PASSWORD=
77
77
- REDIS_DB_TASK=
78
78
- REDIS_DB_CACHE=
79
79
- BASE_PATH= #optional
80
+
- CSRF_TRUSTED_ORIGINS= #optional
80
81
- REMOTE_AUTH_ENABLED= #optional
81
82
- REMOTE_AUTH_BACKEND= #optional
82
83
- REMOTE_AUTH_HEADER= #optional
@@ -108,10 +109,12 @@ docker run -d \
108
109
-e DB_PORT= \
109
110
-e REDIS_HOST= \
110
111
-e REDIS_PORT= \
112
+
-e REDIS_USERNAME= \
111
113
-e REDIS_PASSWORD= \
112
114
-e REDIS_DB_TASK= \
113
115
-e REDIS_DB_CACHE= \
114
116
-e BASE_PATH= `#optional` \
117
+
-e CSRF_TRUSTED_ORIGINS= `#optional` \
115
118
-e REMOTE_AUTH_ENABLED= `#optional` \
116
119
-e REMOTE_AUTH_BACKEND= `#optional` \
117
120
-e REMOTE_AUTH_HEADER= `#optional` \
@@ -143,24 +146,26 @@ Containers are configured using parameters passed at runtime (such as those abov
143
146
|`TZ=Etc/UTC`| specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
144
147
|`SUPERUSER_EMAIL=`| Email address for `admin` account |
145
148
|`SUPERUSER_PASSWORD=`| Password for `admin` account |
146
-
|`ALLOWED_HOST=`| The hostname you will use to access the app (i.e., netbox.example.com) |
149
+
|`ALLOWED_HOST=`| The hostname you will use to access the app (e.g., netbox.example.com) |
147
150
|`DB_NAME=`| Database name (default: netbox) |
148
151
|`DB_USER=`| Database user |
149
152
|`DB_PASSWORD=`| Database password |
150
153
|`DB_HOST=`| Database host (default: postgres) |
151
154
|`DB_PORT=`| Database port (default: 5432) |
152
155
|`REDIS_HOST=`| Redis host (default: redis) |
153
156
|`REDIS_PORT=`| Redis port number (default: 6379) |
|`REMOTE_AUTH_BACKEND=`| Python path to the custom Django authentication backend to use for external user authentication (optional, default: netbox.authentication.RemoteUserBackend) |
160
-
|`REMOTE_AUTH_HEADER=`| Name of the HTTP header which informs NetBox of the currently authenticated user. (optional, default: HTTP_REMOTE_USER) |
161
-
|`REMOTE_AUTH_AUTO_CREATE_USER=`| If true, NetBox will automatically create local accounts for users authenticated via a remote service (optional, default: False) |
162
-
|`REMOTE_AUTH_DEFAULT_GROUPS=`| The list of groups to assign a new user account when created using remote authentication (optional, default: []) |
163
-
|`REMOTE_AUTH_DEFAULT_PERMISSIONS=`| A mapping of permissions to assign a new user account when created using remote authentication (optional, default: {}) |
161
+
|`BASE_PATH=`| The path you will use to access the app (i.e., /netbox, default: none) |
162
+
|`CSRF_TRUSTED_ORIGINS=`| List of comma-separated, single quoted, trusted origins. Must include protocol, and port if applicable (default: []) |
|`REMOTE_AUTH_BACKEND=`| Python path to the custom Django authentication backend to use for external user authentication (default: netbox.authentication.RemoteUserBackend) |
165
+
|`REMOTE_AUTH_HEADER=`| Name of the HTTP header which informs NetBox of the currently authenticated user. (default: HTTP_REMOTE_USER) |
166
+
|`REMOTE_AUTH_AUTO_CREATE_USER=`| If true, NetBox will automatically create local accounts for users authenticated via a remote service (default: False) |
167
+
|`REMOTE_AUTH_DEFAULT_GROUPS=`| The list of groups to assign a new user account when created using remote authentication (default: []) |
168
+
|`REMOTE_AUTH_DEFAULT_PERMISSIONS=`| A mapping of permissions to assign a new user account when created using remote authentication (default: {}) |
164
169
165
170
### Volume Mappings (`-v`)
166
171
@@ -354,40 +359,36 @@ To help with development, we generate this dependency graph.
354
359
init-migrations -> init-adduser
355
360
init-os-end -> init-config
356
361
init-config -> init-config-end
362
+
init-crontab-config -> init-config-end
357
363
init-netbox-config -> init-config-end
358
-
init-os-end -> init-crontab-config
364
+
init-config -> init-crontab-config
359
365
init-mods-end -> init-custom-files
360
366
init-adduser -> init-device-perms
361
367
base -> init-envfile
362
368
base -> init-migrations
363
-
base -> init-mods
364
369
init-config-end -> init-mods
365
-
init-mods -> init-mods-end
366
370
init-mods-package-install -> init-mods-end
367
371
init-mods -> init-mods-package-install
368
372
init-config -> init-netbox-config
369
-
base -> init-os-end
373
+
init-mods-end -> init-netbox-prepare
370
374
init-adduser -> init-os-end
371
375
init-device-perms -> init-os-end
372
376
init-envfile -> init-os-end
373
-
init-migrations -> init-os-end
374
377
init-custom-files -> init-services
375
-
init-mods-end -> init-services
376
378
init-services -> svc-cron
377
379
svc-cron -> legacy-services
378
-
svc-netbox-prepare -> svc-netbox
380
+
init-netbox-prepare -> svc-netbox
379
381
svc-netbox -> legacy-services
380
-
init-services -> svc-netbox-prepare
381
-
svc-netbox-prepare -> legacy-services
382
382
}
383
383
Base Images: {
384
-
"baseimage-alpine:3.20"
384
+
"baseimage-alpine:3.23"
385
385
}
386
386
"netbox:latest"<- Base Images
387
387
```
388
388
389
389
## Versions
390
390
391
+
***05.01.26:** - Rebase to Alpine 3.23. Add CSRF_TRUSTED_ORIGINS env settings. Drop support for environments with explicitly disabled IPv6.
391
392
***26.08.24:** - Restructure init to allow for plugins as mods.
392
393
***16.07.24:** - Add required packages for LDAP support.
0 commit comments