tko22 / flask-boilerplate

Simple flask boilerplate with Postgres, Docker, and Heroku/Zeit now
https://github.com/tko22/flask-boilerplate/wiki
MIT License
301 stars 100 forks source link

Docker Setup - can't log into db - FATAL: role “postgres” does not exist #25

Closed jasonwhitedev closed 4 years ago

jasonwhitedev commented 4 years ago

Using Ubuntu 18.04.

Everything works well until I try to get into the database in the postgres container using the cli.

FATAL: role “postgres” does not exist

jasonwhitedev commented 4 years ago

Managed to 'solve' this by connecting to the db in the normal way - outside of the container.