|
@@ -1,18 +1,17 @@
|
|
|
spring:
|
|
|
datasource:
|
|
|
- name: mydb
|
|
|
- url: jdbc:mysql://rm-wz935586522b8f5o4.mysql.rds.aliyuncs.com:3306/test_bem_park?characterEncoding=utf-8
|
|
|
- username: test_bem_park
|
|
|
- password: bUKH39tsqBeyLliSaT37
|
|
|
- # 使用druid数据源
|
|
|
- type: com.alibaba.druid.pool.DruidDataSource
|
|
|
- driver-class-name: com.mysql.jdbc.Driver
|
|
|
druid:
|
|
|
+ name: mydb
|
|
|
+ url: ${public.datasource.parkdb.url}
|
|
|
+ username: ${public.datasource.parkdb.cpmp-service.username}
|
|
|
+ password: ${public.datasource.parkdb.cpmp-service.password}
|
|
|
+ type: com.alibaba.druid.pool.DruidDataSource
|
|
|
+ driver-class-name: com.mysql.jdbc.Driver
|
|
|
filters: stat
|
|
|
- maxActive: 100
|
|
|
- initialSize: 10
|
|
|
+ maxActive: 200
|
|
|
+ initialSize: 20
|
|
|
maxWait: 60000
|
|
|
- minIdle: 10
|
|
|
+ minIdle: 20
|
|
|
timeBetweenEvictionRunsMillis: 60000
|
|
|
minEvictableIdleTimeMillis: 300000
|
|
|
validationQuery: select 'x'
|
|
@@ -20,7 +19,7 @@ spring:
|
|
|
testOnBorrow: false
|
|
|
testOnReturn: false
|
|
|
poolPreparedStatements: true
|
|
|
- maxOpenPreparedStatements: 20
|
|
|
+ maxOpenPreparedStatements: 100
|
|
|
http:
|
|
|
multipart:
|
|
|
max-file-size: 100MB
|
|
@@ -167,7 +166,7 @@ xxl:
|
|
|
job:
|
|
|
admin:
|
|
|
#执行器注册中心地址[选填],为空则关闭自动注册
|
|
|
- address: http://xxl-job-admin.k8s.yidianting.com.cn/xxl-job-admin/
|
|
|
+ address: https://bem-xxl-job-admin-test.yidianting.com.cn/xxl-job-admin/
|
|
|
executor:
|
|
|
#执行器AppName[选填],为空则关闭自动注册
|
|
|
appname: park-config-service
|
|
@@ -196,36 +195,3 @@ freeswitch.group-api-url: ${freeswitch.lua-api-url}?group.lua
|
|
|
|
|
|
valueAdd:
|
|
|
qrUrlValue:
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- registry.cn-shenzhen.aliyuncs.com
|
|
|
- akeparking
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- bem-center-monitor-service
|
|
|
- bem-charge-service
|
|
|
- bem-park-config-service
|
|
|
- bem-mgr-service
|
|
|
- bem-cpmp-service
|
|
|
-
|
|
|
-
|
|
|
- npm config set registry https://registry.npm.taobao.org --global
|
|
|
-cnpm install node-sass
|
|
|
-source /etc/profile
|
|
|
-echo $PATH
|
|
|
-
|
|
|
-node -v
|
|
|
-npm -v
|
|
|
-cnpm -v
|
|
|
-# yarn -v
|
|
|
-
|
|
|
-rm -rf node_modules
|
|
|
-npm cache clean -f
|
|
|
-cnpm cache clean -f
|
|
|
-cnpm install
|
|
|
-npm run setVersion -- $git_tag
|
|
|
-# yarn run setVersion -- $git_tag
|
|
|
-cnpm run build --modern
|