update apisix
This commit is contained in:
parent
71c973043a
commit
13bc111bdf
|
@ -40,7 +40,7 @@ deployment:
|
|||
|
||||
etcd:
|
||||
host: # it's possible to define multiple etcd hosts addresses of the same etcd cluster.
|
||||
- "http://diyue_etcd: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
|
||||
|
|
|
@ -77,8 +77,8 @@ services:
|
|||
environment:
|
||||
ETCD_ENABLE_V2: "true"
|
||||
ALLOW_NONE_AUTHENTICATION: "yes"
|
||||
ETCD_ADVERTISE_CLIENT_URLS: "http://127.0.0.1:2379"
|
||||
ETCD_LISTEN_CLIENT_URLS: "http://diyue_etcd:2379"
|
||||
ETCD_ADVERTISE_CLIENT_URLS: "http://diyue_etcd:2379"
|
||||
ETCD_LISTEN_CLIENT_URLS: "http://127.0.0.1:2379"
|
||||
ports:
|
||||
- "2379:2379/tcp"
|
||||
deploy:
|
||||
|
|
Loading…
Reference in New Issue