diff --git a/apisix/apisix_conf/config.yaml b/apisix/apisix_conf/config.yaml index e7e91cf..80acf52 100644 --- a/apisix/apisix_conf/config.yaml +++ b/apisix/apisix_conf/config.yaml @@ -40,7 +40,7 @@ deployment: etcd: host: # it's possible to define multiple etcd hosts addresses of the same etcd cluster. - - "http://localhost:2379" # multiple etcd address + - "http://127.0.0.1:2379" # multiple etcd address prefix: "/apisix" # apisix configurations prefix timeout: 30 # 30 seconds health_check_retry: 2 # etcd retry time that only affects the health check, default 2 diff --git a/docker-compose-apisix.yml b/docker-compose-apisix.yml index 788fd3c..0924834 100644 --- a/docker-compose-apisix.yml +++ b/docker-compose-apisix.yml @@ -71,7 +71,6 @@ services: etcd: image: bitnami/etcd:latest - hostname: 'diyue_etcd' volumes: - etcd_data:/bitnami/etcd environment: