Browse Source

政府服务平台配置追加

zdm 6 years ago
parent
commit
9d58ddbf54
1 changed files with 81 additions and 0 deletions
  1. 81 0
      app-gov-service-pc.yml

+ 81 - 0
app-gov-service-pc.yml

@ -0,0 +1,81 @@
server:
  contextPath: /gov
  port: 9088
  session:
    timeout: 30000000
spring:
  redis:
    database: 0 # Database index used by the connection factory.
    timeout: 0 # Connection timeout in milliseconds.
    pool:
      max-active: 8 # Max number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
      max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
      max-wait: -1 # Maximum amount of time (in milliseconds) a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely.
      min-idle: 1  # Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
  application:
    name: app-government-server
    message: EHR Portal
permissions:
  info: admin
demo:
  flag: false # 是否用 json文件 读取报表数据
app:
  clientId: P1C7SOQe6n  # 【政府服务平台】应用
---
spring:
  profiles: dev
  redis:
    host: 172.19.103.47 # Redis server host.
    port: 6379
    password: redis!@456
app:
  oauth2InnerUrl: http://172.19.103.70:1235/authentication/
  oauth2OuterUrl: http://27.154.233.186:10260/  #厦门-授权外网映射
service-gateway:
  adminInnerUrl: http://172.19.103.73:10000
  profileInnerUrl: http://172.19.103.73:10000/api/v1.0/admin
  healthPlanningUrl: http://172.19.103.70:1235/gateway/open/govServer/gov # 卫纪委管理后台 s上饶
  username: user
  password: eureka
  filePath: /usr/local/ehr/json/
---
spring:
  profiles: alpha
  redis:
    host: 172.19.103.47 # Redis server host.
    port: 6379
    password: redis!@456
app:
  oauth2InnerUrl: http://172.19.103.73:10260/
  oauth2OuterUrl: http://27.154.233.186:10260/
service-gateway:
  adminInnerUrl: http://172.19.103.73:10000
  profileInnerUrl: http://172.19.103.73:10000/api/v1.0/admin
  healthPlanningUrl: http://172.19.103.42:8080/gov # 卫纪委管理后台
  username: user
  password: eureka
  filePath: /usr/local/ehr/json/
---
spring:
  profiles: prod
  redis:
    host: 192.168.50.82 # Redis server host.
    port: 6379
    password: q4YaQemf
app:
  oauth2InnerUrl: http://192.168.220.84:10000/authentication/
  oauth2OuterUrl: http://jksr.srswjw.gov.cn:1235/gateway/authentication/  #上饶-授权外网映射
service-gateway:
  adminInnerUrl: http://192.168.220.84:10000
  profileInnerUrl: http://192.168.220.84:10000/api/v1.0/admin
  healthPlanningUrl: http://192.168.220.84:10001/open/govServer/gov # 卫纪委管理后台 s上饶
  username: user
  password: eureka
  filePath: /usr/local/ehr/json/