Relative Content

Tag Archive for phpdocker-compose

docker-compose golang cannot access php service

I have a docker-compose file with nginx, golang and php services.
When trying to access the php services from golang service, I get an error "Get "http://accounting:9000/": read tcp 172.22.0.5:43016->172.22.0.2:9000: read: connection reset by peer"
I also, want the php service to be accessed only internally, so, it should not be exposed to the outside.
docker-compose.yaml: