Browse Source

上传文件至 'src/main/resources'

增加测试环境配置文件
yoko 1 năm trước cách đây
mục cha
commit
56312cb7b9
1 tập tin đã thay đổi với 45 bổ sung0 xóa
  1. 45 0
      src/main/resources/application-test.yml

+ 45 - 0
src/main/resources/application-test.yml

@@ -0,0 +1,45 @@
+server:
+  port: 8082
+spring:
+  datasource:
+    oss:
+      url: jdbc:mysql://192.168.0.43:3308/pdms_oss?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true&tinyInt1isBit=false
+      username: root
+      password: Qx123456
+    runtime:
+      url: jdbc:mysql://192.168.0.43:3308/fastfun?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
+      username: root
+      password: Qx123456
+      driverClassName: com.mysql.cj.jdbc.Driver
+  redis:
+    host: 192.168.0.43
+    port: 6380
+  jpa:
+    database: mysql
+    hibernate:
+      ddl-auto: update
+
+logging:
+  level:
+    com.bridge: debug
+    root: info
+    io.lettuce.core.protocol: error
+
+
+project:
+  token-time: 360000
+  secret-key: pdms-oss-api
+
+ok:
+  http:
+    connect-timeout: 30
+    read-timeout: 30
+    write-timeout: 30
+    # 连接池中整体的空闲连接的最大数量
+    max-idle-connections: 200
+    # 连接空闲时间最多为 300 秒
+    keep-alive-duration: 300
+
+openapi:
+  ip: 47.111.243.220
+  port: 8082