From e4651a523444e04dff5fba62c42bd64614b7d83a Mon Sep 17 00:00:00 2001 From: chujiangke Date: Sat, 9 Oct 2021 14:02:29 +0800 Subject: [PATCH] Update docker-compose.yml --- nginx-golang/docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) 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