diff --git a/nginx-golang/docker-compose.yml b/nginx-golang/docker-compose.yml index a3d6912..609bbcd 100644 --- a/nginx-golang/docker-compose.yml +++ b/nginx-golang/docker-compose.yml @@ -6,5 +6,7 @@ services: - 80:80 depends_on: - backend + extra_hosts: + - "backend:172.24.121.152" #172.24.121.152 you host ip addr backend: build: backend