Skip to content

docker is not creating database #625

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
milanP96 opened this issue Nov 1, 2019 · 2 comments
Closed

docker is not creating database #625

milanP96 opened this issue Nov 1, 2019 · 2 comments

Comments

@milanP96
Copy link

milanP96 commented Nov 1, 2019

  postgres:
    image: postgres:9.6
    environment:
      POSTGRES_USER: test
      POSTGRES_DATABSE: test
      POSTGRES_PASSWORD: test
    volumes:
      - pgdata:/var/lib/postgresql/data
    ports:
      - 5432:5432

On psql -h 127.0.0.1 -U test
get psql: FATAL: role "test" does not exist

@yosifkit
Copy link
Member

yosifkit commented Nov 1, 2019

#203 (comment)

@milanP96
Copy link
Author

milanP96 commented Nov 3, 2019

@yosifkit Thank you VERY much!!!!

@milanP96 milanP96 closed this as completed Nov 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants