superuser creation failed via docker-compose.override.yml file #1445
Unanswered
Udayendu
asked this question in
Getting Help
Replies: 1 comment
-
It should look like this: services:
netbox:
ports:
- 8000:8080
healthcheck:
start_period: 300s
environment:
SKIP_SUPERUSER: "false"
SUPERUSER_NAME: "admin"
SUPERUSER_PASSWORD: "xxxxxxxxxxxxxxxx" |
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
-
Current Behavior
It's not creating the superuser when the information are passed via the
docker-compose.override.yml
file like:And I can see the following logs on the console:
But the user is not getting created. And if I am using
docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
command, then able to create the same user with same credentials.Expected Behavior
As per the documentation, it should be able to create the user.
Docker Compose Version
Docker Compose version v2.34.0
Docker Version
The git Revision
0b70f72
The git Status
Startup Command
docker compose up
NetBox Logs
Content of docker-compose.override.yml
Beta Was this translation helpful? Give feedback.
All reactions