Hey is there a trick to getting the prisma client ...
# orm-help
c
Hey is there a trick to getting the prisma client to connect to postgres using docker-compose? I just keep getting authentication failed with the most basic setup
Copy code
postgres:
    restart: always
    image: postgres:latest
    ports:
      - '5432:5432'
    environment:
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: password
and my database url
DATABASE_URL=<postgresql://postgres>:password@localhost:5432/
r
Hey @Chester ONeill Could you try providing the db string in the following manner?
<postgresql://postgres>:password@localhost:5432/dbName
c
hey thanks. I eventually got it. for some reason it seemed my docker container kept restarting with the wrong password set. compared the md5s. I had to remove the postgres image and clear my volumes and it started working.