Skip to content
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

How to connect database? #18

Open
vafrcor opened this issue Jul 14, 2020 · 2 comments
Open

How to connect database? #18

vafrcor opened this issue Jul 14, 2020 · 2 comments

Comments

@vafrcor
Copy link

vafrcor commented Jul 14, 2020

I have run these command:

  • make install >> install python dependencies
  • make database.connect >> unable to connect to container
  • make database.migrate >> unable to connect to database (see attachment below)

Screen Shot 2020-07-14 at 07 17 22

any thought about this?
thank you

@zacgottschall
Copy link

i'm getting a similar issue

@zacgottschall
Copy link

I added the following in docker-compose.yml

db:
    image: postgres:9.4
    volumes_from:
      - dbdata
    environment:
      POSTGRES_HOST_AUTH_METHOD: trust

fixed the issue for me

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