mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-12-10 05:42:36 +00:00
Fix typo in README.md
Correct command is `docker-compose` not `docker compose`
This commit is contained in:
parent
e020b46f6a
commit
4f667672f2
|
|
@ -40,8 +40,8 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 8000:8080
|
- 8000:8080
|
||||||
EOF
|
EOF
|
||||||
docker compose pull
|
docker-compose pull
|
||||||
docker compose up
|
docker-compose up
|
||||||
```
|
```
|
||||||
|
|
||||||
The whole application will be available after a few minutes.
|
The whole application will be available after a few minutes.
|
||||||
|
|
@ -51,7 +51,7 @@ You should see the NetBox homepage.
|
||||||
To create the first admin user run this command:
|
To create the first admin user run this command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
|
docker-compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
|
||||||
```
|
```
|
||||||
|
|
||||||
If you need to restart Netbox from an empty database often, you can also set the `SUPERUSER_*` variables in your `docker-compose.override.yml` as shown in the example.
|
If you need to restart Netbox from an empty database often, you can also set the `SUPERUSER_*` variables in your `docker-compose.override.yml` as shown in the example.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue