From ddc33390b838edb214b42ac6ec7e8eead5d9839e Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 1 Nov 2023 10:52:51 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=88=9D=E5=A7=8B=E5=8C=96=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- installer/dataease/apisix/apisix_conf/config.yaml | 2 +- installer/dataease/templates/application.yml | 2 +- installer/dectl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/dataease/apisix/apisix_conf/config.yaml b/installer/dataease/apisix/apisix_conf/config.yaml index 3febcbe10a..1b4a894470 100644 --- a/installer/dataease/apisix/apisix_conf/config.yaml +++ b/installer/dataease/apisix/apisix_conf/config.yaml @@ -1,4 +1,4 @@ -pisix: +apisix: node_listen: 9080 # APISIX listening port enable_ipv6: false diff --git a/installer/dataease/templates/application.yml b/installer/dataease/templates/application.yml index 39ccec0edf..df7293079e 100644 --- a/installer/dataease/templates/application.yml +++ b/installer/dataease/templates/application.yml @@ -14,4 +14,4 @@ dataease: origin-list: localhost:8080,localhost:8100,localhost:9080 apisix-api: domain: http://apisix:9180 - key: edd1c9f034335f136f87ad84b625c8f1 \ No newline at end of file + key: DE_APISIX_KEY \ No newline at end of file diff --git a/installer/dectl b/installer/dectl index 4bb1dfaacc..a05fdb5a03 100644 --- a/installer/dectl +++ b/installer/dectl @@ -56,7 +56,7 @@ function _prepare_apisix() { cd $DE_RUNNING_BASE env | grep DE_ >.env sed -i -e "s/DE_APISIX_KEY/${DE_APISIX_KEY}/g" $DE_RUNNING_BASE/apisix/apisix_conf/config.yaml - sed -i -e "s/key:.*/key: ${DE_APISIX_KEY}/g" $DE_RUNNING_BASE/conf/application.yml + sed -i -e "s/DE_APISIX_KEY/${DE_APISIX_KEY}/g" $DE_RUNNING_BASE/conf/application.yml fi compose_files="${compose_files} -f docker-compose-apisix.yml" }