Browse Source

生产环境配置增加local参数

huangwenjie 7 years ago
parent
commit
90c5c6546a
1 changed files with 17 additions and 0 deletions
  1. 17 0
      patient-co-service/wlyy_service/src/main/resources/application.yml

+ 17 - 0
patient-co-service/wlyy_service/src/main/resources/application.yml

@ -119,6 +119,23 @@ spring:
    maxTotal: 500
    maxTotal: 500
    maxIdle: 30
    maxIdle: 30
  redis:
    host: 10.95.22.142 # Redis server host.
    port: 6380 # Redis server port.
    password: jkzlehr
im:
  data_base_name: im
---
spring:
  profiles: local
  datasource:
    url: jdbc:mysql://10.95.22.7:3306/wlyy?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
    username: wlyy
    password: jkzlehr@123
    driverClassName: com.mysql.jdbc.Driver
    maxTotal: 500
    maxIdle: 30
  redis:
  redis:
    host: 10.95.22.142 # Redis server host.
    host: 10.95.22.142 # Redis server host.
    port: 6380 # Redis server port.
    port: 6380 # Redis server port.