update apisix
This commit is contained in:
parent
e3677027cd
commit
8d148c12eb
|
@ -40,9 +40,12 @@ deployment:
|
||||||
|
|
||||||
etcd:
|
etcd:
|
||||||
host: # it's possible to define multiple etcd hosts addresses of the same etcd cluster.
|
host: # it's possible to define multiple etcd hosts addresses of the same etcd cluster.
|
||||||
- "http://localhost:2379" # multiple etcd address
|
- "http://etcd:2379" # multiple etcd address
|
||||||
prefix: "/apisix" # apisix configurations prefix
|
prefix: "/apisix" # apisix configurations prefix
|
||||||
timeout: 30 # 30 seconds
|
timeout: 30 # 30 seconds
|
||||||
|
health_check_retry: 2 # etcd retry time that only affects the health check, default 2
|
||||||
|
tls:
|
||||||
|
verify: false
|
||||||
|
|
||||||
plugin_attr:
|
plugin_attr:
|
||||||
prometheus:
|
prometheus:
|
||||||
|
|
|
@ -71,12 +71,13 @@ services:
|
||||||
|
|
||||||
etcd:
|
etcd:
|
||||||
image: bitnami/etcd:latest
|
image: bitnami/etcd:latest
|
||||||
|
hostname: 'etcd'
|
||||||
volumes:
|
volumes:
|
||||||
- etcd_data:/bitnami/etcd
|
- etcd_data:/bitnami/etcd
|
||||||
environment:
|
environment:
|
||||||
ETCD_ENABLE_V2: "true"
|
ETCD_ENABLE_V2: "true"
|
||||||
ALLOW_NONE_AUTHENTICATION: "yes"
|
ALLOW_NONE_AUTHENTICATION: "yes"
|
||||||
ETCD_ADVERTISE_CLIENT_URLS: "http://localhost:2379"
|
ETCD_ADVERTISE_CLIENT_URLS: "http://etcd:2379"
|
||||||
ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379"
|
ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379"
|
||||||
ports:
|
ports:
|
||||||
- "2379:2379/tcp"
|
- "2379:2379/tcp"
|
||||||
|
|
Loading…
Reference in New Issue