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
|
node_listen: 9080 # APISIX listening port
|
||||||
enable_ipv6: false
|
enable_ipv6: false
|
||||||
|
|
||||||
|
@ -14,4 +14,4 @@ dataease:
|
|||||||
origin-list: localhost:8080,localhost:8100,localhost:9080
|
origin-list: localhost:8080,localhost:8100,localhost:9080
|
||||||
apisix-api:
|
apisix-api:
|
||||||
domain: http://apisix:9180
|
domain: http://apisix:9180
|
||||||
key: edd1c9f034335f136f87ad84b625c8f1
|
key: DE_APISIX_KEY
|
@ -56,7 +56,7 @@ function _prepare_apisix() {
|
|||||||
cd $DE_RUNNING_BASE
|
cd $DE_RUNNING_BASE
|
||||||
env | grep DE_ >.env
|
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/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
|
fi
|
||||||
compose_files="${compose_files} -f docker-compose-apisix.yml"
|
compose_files="${compose_files} -f docker-compose-apisix.yml"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user