From 1e0ffb4026328506fa3fe77fc6d9554dc667b681 Mon Sep 17 00:00:00 2001 From: YYC <1833023622@qq.com> Date: 星期五, 08 十一月 2024 16:59:02 +0800 Subject: [PATCH] 普宁配置文件 --- src/main/resources/application-pro5356.yml | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 57 insertions(+), 0 deletions(-) diff --git a/src/main/resources/application-pro5356.yml b/src/main/resources/application-pro5356.yml new file mode 100644 index 0000000..f4744c3 --- /dev/null +++ b/src/main/resources/application-pro5356.yml @@ -0,0 +1,57 @@ +########################## 骞夸笢鏅畞-鏂板崡婧簱 ########################## +server: + port: 8090 + jetty: + max-http-post-size: 209715200 + tomcat: + max-http-post-size: 209715200 +spring: + datasource: + #涓绘暟鎹簮 + primary: + url: jdbc:mysql://127.0.0.1:3306/igds_api?useUnicode=true&characterEncoding=utf-8 + username: root + password: Fzzy@#$%5432..K + driver-class-name: com.mysql.jdbc.Driver + #娆℃暟鎹簮 + secondary: + url: jdbc:mysql://127.0.0.1:3306/igds_master?useUnicode=true&characterEncoding=utf-8 + username: root + password: Fzzy@#$%5432..K + driver-class-name: com.mysql.jdbc.Driver + jpa: + #涓籮pa閰嶇疆 + primary: + show-sql: true + properties: + hibernate: + hbm2ddl: + auto: update + dialect: org.hibernate.dialect.MySQL5InnoDBDialect + #娆pa閰嶇疆 + secondary: + show-sql: true + properties: + hibernate: + hbm2ddl: + auto: none + dialect: org.hibernate.dialect.MySQL5InnoDBDialect + # Redis鐩稿叧閰嶇疆 + redis: + database: 1 + host: 127.0.0.1 + port: 6379 + password: Redispwd.. + # 杩炴帴姹犳渶澶ц繛鎺ユ暟锛堜娇鐢ㄨ礋鍊艰〃绀烘病鏈夐檺鍒讹級 + pool: + max-active: 200 + max-wait: -1 + max-idle: 10 + min-idle: 0 + timeout: 6000 +igds: + default: + companyId: 5356 + + file-path: D:/IGDS-API/FILE/ + img-path: D:/IGDS/FILE/ \ No newline at end of file -- Gitblit v1.9.3