Updated Getting Started (markdown)

Tobias Genannt 2023-03-18 22:19:14 +01:00
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. 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: 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 ```yaml
version: '3.4' version: '3.4'
services: services:
@ -79,12 +70,12 @@ NetBox will be initializing the database and then start.
The whole application will be available after a few minutes. The whole application will be available after a few minutes.
Open the URL `http://0.0.0.0:8000/` in a web-browser. Open the URL `http://0.0.0.0:8000/` in a web-browser.
You should see the NetBox homepage. You should see the NetBox homepage.
On the top-right corner you can log-in.
The default credentials are:
* Username: **admin** To create the first admin user run this command:
* Password: **admin**
* API Token: **0123456789abcdef0123456789abcdef01234567** ```bash
docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
```
[netbox-docker]: https://github.com/netbox-community/netbox-docker [netbox-docker]: https://github.com/netbox-community/netbox-docker
[docker-reception]: https://github.com/nxt-engineering/reception [docker-reception]: https://github.com/nxt-engineering/reception