Explorar o código

生产环境配置

qin hai 1 ano
pai
achega
4d100b17ae
Modificáronse 1 ficheiros con 56 adicións e 0 borrados
  1. 56 0
      src/main/resources/zky/application.yml

+ 56 - 0
src/main/resources/zky/application.yml

@@ -0,0 +1,56 @@
+# server basic config
+server:
+  port: 12006
+  servlet:
+    context-path: /
+# eureka server connect config
+eureka:
+  client:
+    service-url:
+      defaultZone: http://10.6.17.125:12006/eureka/
+    register-with-eureka: true
+    #fetch-registry: false
+spring:
+  # 安全配置,请以实际方式代替
+  security:
+    user:
+      name: admin
+      password: admin
+  application:
+    # 请保持和POM GAV一致
+    name: ym-ipos
+  #database operation config
+  datasource:
+    type: com.alibaba.druid.pool.DruidDataSource
+    druid:
+      url: jdbc:mysql://10.6.17.128:3306/ym_ipos?characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
+      username: zky
+      password: V&h5IN!&
+      filter: stat
+      max-active: 100
+      initial-size: 5
+      max-wait: 60000
+      min-idle: 1
+      validation-query: SELECT 1
+      test-while-idle: true
+      driver-class-name: com.mysql.cj.jdbc.Driver
+# mybatis config
+mybatis-plus:
+  config-location: classpath:mybatis-config.xml
+  mapper-locations: classpath:mapper/ipos/*.xml
+# Logger
+logging:
+  level:
+    com.poteviohealth.ym.ipos.mapper: DEBUG
+  config: classpath:logback-spring.xml
+
+pay:
+  field:
+    code: CHECG
+    ip: 106.37.165.111
+    split: 0.007
+    notifyUrl : https://jjyl.cy.checg.cn/gateway/ipos/receive/payNotify
+
+ribbon:
+  ReadTimeout: 50000
+  ConnectTimeout: 50000