BlaiMelendezCatalan / BAT

Other
61 stars 7 forks source link

Postgres is unavailable - sleeping #19

Closed neemiasbsilva closed 3 years ago

neemiasbsilva commented 3 years ago

Hello,

First of all, I'd like to congratulate for the amazing tool.

I get the following bug - Postgres is unavailable - sleeping - when I type the coming command: docker-compose run django python manage.py createsuperuser.

I using Docker desktop on mac-os.

Best

neemiasbsilva commented 3 years ago

I solved the problem,

Basically I had to put in the environment of postgres and django in docker-compose.yml the following variable: POSTGRES_PASSWORD=password

Best