Merge pull request #6466 from dataease/pr@dev-v2@perf_init_script

perf: 初始化脚本
This commit is contained in:
fit2cloud-chenyw 2023-11-01 10:55:11 +08:00 committed by GitHub
commit ebb06745eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
pisix:
apisix:
node_listen: 9080 # APISIX listening port
enable_ipv6: false

View File

@ -14,4 +14,4 @@ dataease:
origin-list: localhost:8080,localhost:8100,localhost:9080
apisix-api:
domain: http://apisix:9180
key: edd1c9f034335f136f87ad84b625c8f1
key: DE_APISIX_KEY

View File

@ -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"
}