How to create Django
superuser
with docker compose?

shxkm
PRO

5 months ago

I see many threads about how convoluted/hard it is to achieve this. I don't want to have to talk in SQL directly in order to create a super user. If I understand correctly, in order to do this I need to expose the DB publicly?

0 Replies

shxkm
PRO

5 months ago

N/A


shxkm
PRO

5 months ago

I'm using a docker-compose.yml file locally, and I've deployed redis and postgres manually on Railway (using the quick create menu)


shxkm
PRO

5 months ago

OK, not as nearly as bad as I thought. A doc on the railway website would've gone a long way though.


How to create Django `superuser` with docker compose? - Railway Help Station