update apisix

This commit is contained in:
BryantHe 2024-03-10 14:37:01 +08:00
parent e2153e5776
commit 71c973043a
1 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ services:
- ./apisix/apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro - ./apisix/apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro
depends_on: depends_on:
- etcd - etcd
network_mode: host ##network_mode: host
ports: ports:
- "9180:9180/tcp" - "9180:9180/tcp"
- "9080:9080/tcp" - "9080:9080/tcp"
@ -77,8 +77,8 @@ services:
environment: environment:
ETCD_ENABLE_V2: "true" ETCD_ENABLE_V2: "true"
ALLOW_NONE_AUTHENTICATION: "yes" ALLOW_NONE_AUTHENTICATION: "yes"
ETCD_ADVERTISE_CLIENT_URLS: "http://diyue_etcd:2379" ETCD_ADVERTISE_CLIENT_URLS: "http://127.0.0.1:2379"
ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379" ETCD_LISTEN_CLIENT_URLS: "http://diyue_etcd:2379"
ports: ports:
- "2379:2379/tcp" - "2379:2379/tcp"
deploy: deploy: