Debian – Can not connect Postgres with Golang API and docker-compose
When I run docker-compose up postgres service start successful. However my Golang API can not connect to my postgres service. I tried manually without docker and it works. Golang Connection string looks like this host=db port=5432 user=%s dbname=%s password=%s sslmode=disable.…