update apisix
This commit is contained in:
parent
a9c6b9530e
commit
5e0ed24d60
|
@ -43,9 +43,9 @@ deployment:
|
|||
- "http://etcd: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
|
||||
tls:
|
||||
verify: false
|
||||
# health_check_retry: 2 # etcd retry time that only affects the health check, default 2
|
||||
# tls:
|
||||
# verify: false
|
||||
|
||||
plugin_attr:
|
||||
prometheus:
|
||||
|
|
|
@ -43,7 +43,7 @@ services:
|
|||
apisix:
|
||||
image: apache/apisix:latest
|
||||
volumes:
|
||||
- ./apisix/apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro
|
||||
- ./apisix/apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml
|
||||
depends_on:
|
||||
- etcd
|
||||
##network_mode: host
|
||||
|
@ -74,7 +74,7 @@ services:
|
|||
volumes:
|
||||
- etcd_data:/bitnami/etcd
|
||||
environment:
|
||||
ETCD_ENABLE_V2: "false"
|
||||
ETCD_ENABLE_V2: "true"
|
||||
ALLOW_NONE_AUTHENTICATION: "yes"
|
||||
ETCD_ADVERTISE_CLIENT_URLS: "http://etcd:2379"
|
||||
ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379"
|
||||
|
|
Loading…
Reference in New Issue