neo4j-contrib / django-neomodel

Neomodel plugin for Django
MIT License
290 stars 55 forks source link

DJANGO_SUPERUSER_USERNAME is not is not recognized, so moved to the Docker .env file #61

Closed EvdH0 closed 3 years ago

EvdH0 commented 3 years ago

In docker-entrypoint.sh a Django superuser is created, however the $DJANGO_SUPERUSER_USERNAME is not recognized by docker-entrypoint.sh. Therefore moved the superuser variables from settings.py to the newly created Docker .env file and pass them through the container by the environment definition in docker-compose.yml

whatSocks commented 3 years ago

thanks! Apologies for missing this one