feat(docker/production): create superuser in initial setup
We add one step to the master entrypoint script to ensure a superuser exists with username and password configured from the environment variables DJANGO_SUPERUSER_USERNAME and DJANGO_SUPERUSER_PASSWORD. The step does nothing if these variables are not set or the user already exists.all-inclusive
parent
7f203b5139
commit
99f6dfcdfb
Loading…
Reference in New Issue