mirror of
https://gitea.bearcatlog.com/Bryant/chassis-agent
synced 2025-01-19 06:53:25 +08:00
update apisix
This commit is contained in:
parent
5e0ed24d60
commit
eadc3e145b
@ -41,7 +41,7 @@ deployment:
|
||||
etcd:
|
||||
host: # it's possible to define multiple etcd hosts addresses of the same etcd cluster.
|
||||
- "http://etcd:2379" # multiple etcd address
|
||||
prefix: "/apisix" # apisix configurations prefix
|
||||
# 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:
|
||||
|
@ -43,7 +43,7 @@ services:
|
||||
apisix:
|
||||
image: apache/apisix:latest
|
||||
volumes:
|
||||
- ./apisix/apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml
|
||||
- ./apisix/apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro
|
||||
depends_on:
|
||||
- etcd
|
||||
##network_mode: host
|
||||
@ -76,7 +76,7 @@ services:
|
||||
environment:
|
||||
ETCD_ENABLE_V2: "true"
|
||||
ALLOW_NONE_AUTHENTICATION: "yes"
|
||||
ETCD_ADVERTISE_CLIENT_URLS: "http://etcd:2379"
|
||||
ETCD_ADVERTISE_CLIENT_URLS: "http://0.0.0.0:2379"
|
||||
ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379"
|
||||
ports:
|
||||
- "2379:2379/tcp"
|
||||
|
Loading…
Reference in New Issue
Block a user