mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-06-22 10:52:15 +02:00
Updated Getting Started (markdown)
parent
ccec49bf96
commit
fc0ed800cb
@ -38,15 +38,6 @@ cd netbox-docker
|
||||
Now you need to create a new file which defines the port under which NetBox will be available.
|
||||
The file's name must be `docker-compose.override.yml` and it's content should be as follows:
|
||||
|
||||
```yaml
|
||||
version: '3.4'
|
||||
services:
|
||||
nginx:
|
||||
ports:
|
||||
- 8000:8080
|
||||
```
|
||||
|
||||
From **version 0.28.0** and above the file's content should be this (service `nginx` changed to `netbox`):
|
||||
```yaml
|
||||
version: '3.4'
|
||||
services:
|
||||
@ -79,12 +70,12 @@ NetBox will be initializing the database and then start.
|
||||
The whole application will be available after a few minutes.
|
||||
Open the URL `http://0.0.0.0:8000/` in a web-browser.
|
||||
You should see the NetBox homepage.
|
||||
On the top-right corner you can log-in.
|
||||
The default credentials are:
|
||||
|
||||
* Username: **admin**
|
||||
* Password: **admin**
|
||||
* API Token: **0123456789abcdef0123456789abcdef01234567**
|
||||
To create the first admin user run this command:
|
||||
|
||||
```bash
|
||||
docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
|
||||
```
|
||||
|
||||
[netbox-docker]: https://github.com/netbox-community/netbox-docker
|
||||
[docker-reception]: https://github.com/nxt-engineering/reception
|
||||
|
Loading…
x
Reference in New Issue
Block a user