From 5e0ed24d60133f4419aa07c67301d3c6bc54b902 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Sun, 10 Mar 2024 16:01:29 +0800 Subject: [PATCH] update apisix --- apisix/apisix_conf/config.yaml | 6 +++--- docker-compose-apisix.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apisix/apisix_conf/config.yaml b/apisix/apisix_conf/config.yaml index 09fb61f..8d5042c 100644 --- a/apisix/apisix_conf/config.yaml +++ b/apisix/apisix_conf/config.yaml @@ -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: diff --git a/docker-compose-apisix.yml b/docker-compose-apisix.yml index 1eef678..62a4fdc 100644 --- a/docker-compose-apisix.yml +++ b/docker-compose-apisix.yml @@ -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"