Introduce $SKIP_SUPERUSER

This adds a new variable to skip the creation of the superuser.
That is useful for LDAP and for production environments.

Fixes #160
This commit is contained in:
Christian Mäder 2019-10-12 14:45:55 +02:00
parent 5ae5977717
commit 20c234a96e
2 changed files with 31 additions and 24 deletions

2
env/netbox.env vendored
View file

@ -20,6 +20,8 @@ REDIS_DATABASE=0
REDIS_CACHE_DATABASE=1
REDIS_SSL=false
SECRET_KEY=r8OwDznj!!dci#P9ghmRfdu1Ysxm0AiPeDCQhKE+N_rClfWNj
SKIP_STARTUP_SCRIPTS=false
SKIP_SUPERUSER=false
SUPERUSER_NAME=admin
SUPERUSER_EMAIL=admin@example.com
SUPERUSER_PASSWORD=admin