From 17a6e42c685b7aee80a953f182ab514db2643fe0 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期三, 11 十二月 2024 18:07:11 +0800
Subject: [PATCH] Merge branch 'master' of http://dlindusit.com:53929/r/shasteel

---
 shasteel-biz/src/main/resources/application-prod.yaml |   73 ++++++++++++++++++++++++++++++++++++
 1 files changed, 73 insertions(+), 0 deletions(-)

diff --git a/shasteel-biz/src/main/resources/application-prod.yaml b/shasteel-biz/src/main/resources/application-prod.yaml
new file mode 100644
index 0000000..61e48d0
--- /dev/null
+++ b/shasteel-biz/src/main/resources/application-prod.yaml
@@ -0,0 +1,73 @@
+--- #################### 数据库相关配置 ####################
+spring:
+  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_fast_tenant_shasteel?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
+          username: root
+          password: Iailab@2019
+
+  redis:
+    host: 127.0.0.1
+    port: 6379
+    database: 8
+    password: 123456
+
+--- #################### 平台相关配置 ####################
+
+iailab:
+  env:
+    tag: ${HOSTNAME}
+  captcha:
+    enable: false
+  security:
+    mock-enable: true
+  access-log:
+    enable: false
+
+  sms-code:
+    expire-times: 10m
+    send-frequency: 1m
+    send-maximum-quantity-per-day: 10
+    begin-code: 9999
+    end-code: 9999
+  token:
+    base-url: http://127.0.0.1:48080/admin-api/system
+    tenant-id: 172
+    client-id: shasteel
+    client-secret: shasteel111111111111111
+    username: shasteel
+    password: 123456
+

--
Gitblit v1.9.3