create superuser ?????? #1408
Unanswered
macooper59
asked this question in
Getting Help
Replies: 1 comment
-
A bit late, but the problem is '# environment'. Remove the '# ' infront of environment and make sure everything is indented correctly. Ex. services: netbox: ports: - "8000:8080" environment: SKIP_SUPERUSER: "false" # SUPERUSER_API_TOKEN: "" # SUPERUSER_EMAIL: "" SUPERUSER_NAME: "username" SUPERUSER_PASSWORD: "password" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey Everyone,
I tried to create a superuser
docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
but it came back blank and I ran it a few times. Now I am wondering how this actually works. It says to use the superuser variables and I did that and got this back:Here is what I did in the docker-compose.override.yml, I uncommented SKIP_SUPERUSER, SUPERUSER_NAME, and SUPERUSER_PASSWORD

Then I ran docker-compose up -d and got the following error:

It's up and running but I can't use or log in to it.
Thanks Guys,
Michael
Beta Was this translation helpful? Give feedback.
All reactions