mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-06-13 13:36:39 +02:00
Updated Configuration (markdown)
parent
63b0a93337
commit
c9d430b975
@ -4,9 +4,9 @@ Read [Environment Variables in Compose][compose-env] to understand about the var
|
|||||||
(The easiest solution being simply adjusting that file.)
|
(The easiest solution being simply adjusting that file.)
|
||||||
|
|
||||||
To find all possible variables, have a look at the [configuration.py][docker-config] and [docker-entrypoint.sh][entrypoint] files.
|
To find all possible variables, have a look at the [configuration.py][docker-config] and [docker-entrypoint.sh][entrypoint] files.
|
||||||
Generally, the environment variables are called the same as their respective Netbox configuration variables.
|
Generally, the environment variables are called the same as their respective NetBox configuration variables.
|
||||||
Variables which are arrays are usually composed by putting all the values into the same environment variables with the values separated by a whitespace ("` `").
|
Variables which are arrays are usually composed by putting all the values into the same environment variables with the values separated by a whitespace ("` `").
|
||||||
For example defining `ALLOWED_HOSTS=localhost ::1 127.0.0.1` would allows access to Netbox through `http://localhost:8080`, `http://[::1]:8080` and `http://127.0.0.1:8080`.
|
For example defining `ALLOWED_HOSTS=localhost ::1 127.0.0.1` would allows access to NetBox through `http://localhost:8080`, `http://[::1]:8080` and `http://127.0.0.1:8080`.
|
||||||
|
|
||||||
[compose-env]: https://docs.docker.com/compose/environment-variables/
|
[compose-env]: https://docs.docker.com/compose/environment-variables/
|
||||||
[docker-config]: https://github.com/netbox-community/netbox-docker/blob/release/configuration/configuration.py
|
[docker-config]: https://github.com/netbox-community/netbox-docker/blob/release/configuration/configuration.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user