application.yml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. server:
  2. contextPath: /iot
  3. port: 9099
  4. sessionTimeout: 30000000
  5. spring:
  6. redis:
  7. database: 0 # Database index used by the connection factory.
  8. port: 6379 # Redis server port.
  9. password: # Login password of the redis server.
  10. timeout: 0 # Connection timeout in milliseconds.
  11. #sentinel:
  12. # master: # Name of Redis server.
  13. # nodes: # Comma-separated list of host:port pairs.
  14. pool:
  15. 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.
  16. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  17. 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.
  18. 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.
  19. application:
  20. name: app-iot-server
  21. message: App IOT Server
  22. resources:
  23. static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/front/,classpath:/
  24. # cache-period: 0
  25. permissions:
  26. info: admin
  27. app:
  28. clientId: Qz2yA1MOD0 # 【物联网】应用
  29. fast-dfs:
  30. tracker-server: 172.19.103.54:22122 #服务器地址
  31. connect-timeout: 2 #链接超时时间
  32. network-timeout: 30
  33. charset: ISO8859-1 #编码
  34. http:
  35. tracker-http-port: 80
  36. anti-steal-token: no
  37. secret-key: FastDFS1234567890
  38. pool: #连接池大小
  39. init-size: 5
  40. max-size: 20
  41. wait-time: 500
  42. ---
  43. spring:
  44. profiles: jwdev
  45. loginVaild: true
  46. redis:
  47. host: 172.19.103.47 # Redis server host.
  48. port: 6379
  49. password: redis!@456
  50. app:
  51. # oauth2InnerUrl: http://172.19.103.44:10260/ # 物联网环境
  52. oauth2InnerUrl: http://172.19.103.73:10260/ # 认证中心,获取token ehr环境
  53. oauth2OuterUrl: http://27.154.233.186:10260/ # 上饶-授权外网映射
  54. service-gateway:
  55. iotUrl: http://192.168.131.24:8088/svr-iot/
  56. profileInnerUrl: http://172.19.103.73:10000/api/v1.0/admin
  57. profileOuterUrl: http://27.154.233.186:10000/api/v1.0/admin
  58. portalInnerUrl: http://172.19.103.73:10280/api/v1.0/portal
  59. portalOuterUrl: http://27.154.233.186:10280/api/v1.0/portal
  60. third:
  61. wlyy:
  62. url: http://192.168.131.24:8086/
  63. appid: 915d0345-5b1d-11e6-8344-fa163e8aee61
  64. appsecret: 915d0345-5b1d-11e6-8344-fa163e8aee57
  65. fast-dfs:
  66. tracker-server: 172.19.103.54:22122
  67. public-server: http://172.19.103.54:80/
  68. logging:
  69. path: /data/logger
  70. file: app-iot-server
  71. ---
  72. spring:
  73. profiles: jwtest
  74. loginVaild: true
  75. redis:
  76. host: 172.19.103.47 # Redis server host.
  77. port: 6379
  78. password: redis!@456
  79. app:
  80. oauth2InnerUrl: http://172.19.103.73:10260/
  81. oauth2OuterUrl: http://27.154.233.186:10260/
  82. service-gateway:
  83. iotUrl: http://172.19.103.88:10050/svr-iot/
  84. profileInnerUrl: http://172.19.103.73:10000/api/v1.0/admin
  85. profileOuterUrl: http://27.154.233.186:10000/api/v1.0/admin
  86. portalInnerUrl: http://172.19.103.73:10280/api/v1.0/portal
  87. portalOuterUrl: http://27.154.233.186:10280/api/v1.0/portal
  88. third:
  89. wlyy:
  90. url: http://ehr.yihu.com/wlyy/
  91. appid: 915d0345-5b1d-11e6-8344-fa163e8aee61
  92. appsecret: 915d0345-5b1d-11e6-8344-fa163e8aee57
  93. fast-dfs:
  94. tracker-server: 172.19.103.54:22122
  95. public-server: http://172.19.103.54:80/
  96. logging:
  97. path: /data/logger
  98. file: app-iot-server
  99. ---
  100. spring:
  101. profiles: jwprod
  102. loginVaild: true
  103. redis:
  104. host: 172.19.103.47 # Redis server host.
  105. port: 6379
  106. password: redis!@456
  107. app:
  108. oauth2InnerUrl: http://172.19.103.73:10260/
  109. oauth2OuterUrl: http://27.154.233.186:10260/
  110. service-gateway:
  111. profileInnerUrl: http://172.19.103.73:10000/api/v1.0/admin
  112. profileOuterUrl: http://27.154.233.186:10000/api/v1.0/admin
  113. portalInnerUrl: http://172.19.103.73:10280/api/v1.0/portal
  114. portalOuterUrl: http://27.154.233.186:10280/api/v1.0/portal
  115. third:
  116. wlyy:
  117. url: http://www.yihu.com/wlyy/
  118. appid: 915d0345-5b1d-11e6-8344-fa163e8aee61
  119. appsecret: 915d0345-5b1d-11e6-8344-fa163e8aee57
  120. fast-dfs:
  121. tracker-server: 11.1.2.9:22122
  122. accessUrl: http://11.1.2.9
  123. logging:
  124. path: /data/logger
  125. file: app-iot-server
  126. #单点登录
  127. #GET http://172.19.103.73:10260/oauth/sso?response_type=token&client_id=uzs5G0HgTp&state=sxy&scope=read&redirect_uri=http://192.168.1.221:8010/ehr/browser/common/login/signin?idCardNo=362321200108017313&user=admin