You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran my compose file using docker-compose up --build and got below logs
templates_db_1 | LOG: database system was interrupted; last known up at 2017-05-16 05:48:39 UTC
templates_db_1 | LOG: database system was not properly shut down; automatic recovery in progress
templates_db_1 | LOG: invalid record length at 0/14F0080: wanted 24, got 0
templates_db_1 | LOG: redo is not required
templates_db_1 | LOG: MultiXact member wraparound protections are now enabled
templates_db_1 | LOG: database system is ready to accept connections
templates_db_1 | LOG: autovacuum launcher started
When I logged into postgres shell as
# su - postgres
$ psql
postgres=# \l
it didn't had the db I mentioned in compose file my_db
The text was updated successfully, but these errors were encountered:
veris-neerajdhiman
changed the title
DB, User not craeted using postgres dopcker image
DB, User not craeted using postgres docker-compose
May 16, 2017
I was setting up my django project and postgres but everytime I was getting this error
role doesn't exists
orDb doesn't exists
So when I only tried to setup postgres and see if postgres is creating user and db correctly, but it wasn't
Here is my docker compose file :
docker-compose up --build
and got below logsit didn't had the db I mentioned in compose file my_db
The text was updated successfully, but these errors were encountered: