Docker - Cannot connect to my database

I’m currently unable to pass the “Waiting for your backend to run” step using docker

Expected behavior

docker-compose up -d should start the container

Actual behavior

The container exit directly after docker-compose up

Context

Please provide any relevant information about your setup.

  • forest-express-sequelize version: ^6.0.0
  • database dialect: dockerized postgres
  • database version: 12.2

Hey @jeffladiray!
Could you please try to add network: host in your docker compose file and tell me if it fixes your issue?

1 Like

This solved my issue! I was running this on linux, which does not handle https://host.docker.internal
thanks for pointing me in that direction !