From 71c973043aa698264282d06194664da00c1626a8 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Sun, 10 Mar 2024 14:37:01 +0800 Subject: [PATCH] update apisix --- docker-compose-apisix.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose-apisix.yml b/docker-compose-apisix.yml index f66ab24..9cefafc 100644 --- a/docker-compose-apisix.yml +++ b/docker-compose-apisix.yml @@ -46,7 +46,7 @@ services: - ./apisix/apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro depends_on: - etcd - network_mode: host + ##network_mode: host ports: - "9180:9180/tcp" - "9080:9080/tcp" @@ -77,8 +77,8 @@ services: environment: ETCD_ENABLE_V2: "true" ALLOW_NONE_AUTHENTICATION: "yes" - ETCD_ADVERTISE_CLIENT_URLS: "http://diyue_etcd:2379" - ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379" + ETCD_ADVERTISE_CLIENT_URLS: "http://127.0.0.1:2379" + ETCD_LISTEN_CLIENT_URLS: "http://diyue_etcd:2379" ports: - "2379:2379/tcp" deploy: