mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-07-30 04:26:12 +02:00
Updated Getting Started (markdown)
@ -36,18 +36,9 @@ cd netbox-docker
|
|||||||
```
|
```
|
||||||
|
|
||||||
Now you need to create a new file which defines the port under which NetBox will be available.
|
Now you need to create a new file which defines the port under which NetBox will be available.
|
||||||
The file name must be `docker-compose.override.yml` and its content should be as follows:
|
The file name must be `docker-compose.override.yml`. As a starting point you can use our example file named `docker-compose.override.yml.example`.
|
||||||
|
|
||||||
```yaml
|
|
||||||
version: '3.4'
|
|
||||||
services:
|
|
||||||
netbox:
|
|
||||||
ports:
|
|
||||||
- 8000:8080
|
|
||||||
```
|
|
||||||
|
|
||||||
This file will define that NetBox Docker will always listen on port `8000` when it starts up.
|
This file will define that NetBox Docker will always listen on port `8000` when it starts up.
|
||||||
(Without that file it would listen on a random port so that you can start multiple NetBox instances in parallel.)
|
|
||||||
If you already have something listening on port `8000` feel free to change it.
|
If you already have something listening on port `8000` feel free to change it.
|
||||||
|
|
||||||
To get NetBox Docker up-and-running, here are the two final steps:
|
To get NetBox Docker up-and-running, here are the two final steps:
|
||||||
|
Reference in New Issue
Block a user