forked from github/dataease
perf: 初始化脚本
This commit is contained in:
parent
07bbea4169
commit
ddc33390b8
@ -1,4 +1,4 @@
|
||||
pisix:
|
||||
apisix:
|
||||
node_listen: 9080 # APISIX listening port
|
||||
enable_ipv6: false
|
||||
|
||||
|
@ -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
|
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user