Postgres, Go Docker compose wait-for-it.sh no such file or directory
问题 Been racking my head about this one for almost two days. I'm new to Docker and Docker Compose, and trying to run my image on an EC2 instance running Postgres and Go. When I run docker-compose up, the db service runs successfully, but not the app service. When I try to run the services separately using: docker-compose up db all is good then run: docker-compose up app I get... app_1 | wait-for-it.sh: waiting 15 seconds for db:5432 app_1 | wait-for-it.sh: db:5432 is available after 0 seconds app