Tag
© 2026 Hashnode
TL;DR: docker compose up is a development command; there is no compose-to-cloud button, and service names like http://api:8080 only resolve on the machine running Compose. Four honest ways to get a mu

You run docker compose up, the logs scroll, and a second later your API container is dead: api-1 | Error: connect ECONNREFUSED 172.18.0.2:5432 api-1 | psql: error: could not connect to server: Conne

You run docker compose up, the logs scroll past, and somewhere near the top is a line you have probably seen a hundred times: WARN[0000] The "DB_PASSWORD" variable is not set. Defaulting to a blank st
