From 20748641c04dc9a692d7bea3697f08c9c884c3d0 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期二, 05 十一月 2024 09:29:31 +0800 Subject: [PATCH] cpp.vm --- iailab-module-model/iailab-module-model-biz/src/main/resources/application-dev.yml | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/resources/application-dev.yml b/iailab-module-model/iailab-module-model-biz/src/main/resources/application-dev.yml new file mode 100644 index 0000000..d86856e --- /dev/null +++ b/iailab-module-model/iailab-module-model-biz/src/main/resources/application-dev.yml @@ -0,0 +1,54 @@ +spring: + autoconfigure: + exclude: + - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure + datasource: + druid: + web-stat-filter: + enabled: true + stat-view-servlet: + enabled: true + allow: + url-pattern: /druid/* + login-username: + login-password: + filter: + stat: + enabled: true + log-slow-sql: true + slow-sql-millis: 100 + merge-sql: true + wall: + config: + multi-statement-allow: true + dynamic: + druid: + initial-size: 1 + min-idle: 1 + max-active: 20 + max-wait: 600000 + time-between-eviction-runs-millis: 60000 + min-evictable-idle-time-millis: 300000 + max-evictable-idle-time-millis: 900000 + validation-query: SELECT 1 FROM DUAL + test-while-idle: true + test-on-borrow: false + test-on-return: false + primary: master + datasource: + master: + #url: jdbc:mysql://127.0.0.1:3306/iailab_expert_tenant_zjgt?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true + url: jdbc:mysql://127.0.0.1:3306/iailab_expert_master?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true + username: root + password: 123456 + + redis: + host: 127.0.0.1 + port: 6379 + database: 0 + # password: 123456 + +mpk: + bak-file-path: D:\DLUT\mpkBakFile + bak-resources: D:\DLUT\mpkResources + model-file-path: D:\DLUT\MDK\Model\miail\ -- Gitblit v1.9.3