added readme instructions to generate secret key

This commit is contained in:
Shihaam Abdul Rahman 2023-01-24 09:27:41 +05:00
parent e0aa1a1ce7
commit 962d5410b1
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636

View File

@ -37,6 +37,7 @@ services:
```bash
mkdir -p media/image-attachments media/devicetype-images
```
- Generate Secret key `docker compose run --rm netbox ./generate_secret_key.py`, this will be needed in next step
- Fetch example config from container `docker compose run --rm netbox cat /opt/netbox/netbox/netbox/configuration_example.py > configuration.py` and edit it according to your enviroment.
- Run `docker compose up -d`