Application cannot reach PostgreSQL

PostgreSQL did not accept a connection with the current DATABASE_URL. If the app runs in Docker Compose, the host in DATABASE_URL must usually be postgres (not localhost).

Details: Connection terminated due to connection timeout

After fixing the database, restart the dev server or Docker service.

Connexion | Towerly