Kaizoku cannot connect to the postgres server, it throws this error:
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "kaizoku", schema "public" at "db:5432"
Error: P1001: Can't reach database server at `db`:`5432`
Please make sure your database server is running at `db`:`5432`.
Reproduction steps
Use the docker-compose sample at the README.md
Expected behavior
Should work normally.
Additional context
Tried #135 , still no luck. Also, it is in a Docker in WSL instance if that helps.
Add redis and db to the same network you added app to.
Then change 'db' in the database url to localhost.
DATABASE_URL=postgresql://kaizoku:kaizoku@localhost:5432/kaizoku
Describe the bug
Kaizoku cannot connect to the postgres server, it throws this error:
Reproduction steps
Expected behavior
Should work normally.
Additional context
Tried #135 , still no luck. Also, it is in a Docker in WSL instance if that helps.
Docker Compose: