application.yml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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-emergency-server
  21. message: EHR Emergency Server
  22. permissions:
  23. info: admin
  24. app:
  25. clientId: 3CDhsgepr4
  26. baseClientId: Qz2yA1MOD0 # 【物联网】应用
  27. fast-dfs:
  28. tracker-server: 172.19.103.54:22122 #服务器地址
  29. connect-timeout: 2 #链接超时时间
  30. network-timeout: 30
  31. charset: ISO8859-1 #编码
  32. http:
  33. tracker-http-port: 80
  34. anti-steal-token: no
  35. secret-key: FastDFS1234567890
  36. pool: #连接池大小
  37. init-size: 5
  38. max-size: 20
  39. wait-time: 500
  40. ---
  41. spring:
  42. profiles: dev
  43. loginVaild: true
  44. redis:
  45. host: 172.19.103.47 # Redis server host.
  46. port: 6379
  47. password: redis!@456
  48. app:
  49. oauth2InnerUrl: http://172.19.103.44:10260/
  50. oauth2OuterUrl: http://27.154.233.186:10260/ #上饶-授权外网映射
  51. service-gateway:
  52. iotUrl: http://192.168.131.24:8088/svr-iot/
  53. profileInnerUrl: http://172.19.103.48:10000/api/v1.0/admin
  54. profileOuterUrl: http://27.154.233.186:10000/api/v1.0/admin
  55. portalInnerUrl: http://172.19.103.48:10280/api/v1.0/portal
  56. portalOuterUrl: http://27.154.233.186:10280/api/v1.0/portal
  57. fast-dfs:
  58. tracker-server: 172.19.103.54:22122
  59. public-server: http://172.19.103.54:80/
  60. logging:
  61. path: /data/logger
  62. file: app-emergency-server
  63. ---
  64. spring:
  65. profiles: test
  66. loginVaild: true
  67. redis:
  68. host: 172.19.103.47 # Redis server host.
  69. port: 6379
  70. password: redis!@456
  71. app:
  72. oauth2InnerUrl: http://172.19.103.73:10260/
  73. oauth2OuterUrl: http://27.154.233.186:10260/
  74. service-gateway:
  75. profileInnerUrl: http://172.19.103.73:10000/api/v1.0/admin
  76. profileOuterUrl: http://27.154.233.186:10000/api/v1.0/admin
  77. portalInnerUrl: http://172.19.103.73:10280/api/v1.0/portal
  78. portalOuterUrl: http://27.154.233.186:10280/api/v1.0/portal
  79. fast-dfs:
  80. tracker-server: 172.19.103.54:22122
  81. public-server: http://172.19.103.54:80/
  82. logging:
  83. path: /data/logger
  84. file: app-emergency-server
  85. ---
  86. spring:
  87. profiles: prod
  88. loginVaild: true
  89. redis:
  90. host: 172.19.103.47 # Redis server host.
  91. port: 6379
  92. password: redis!@456
  93. app:
  94. oauth2InnerUrl: http://172.19.103.73:10260/
  95. oauth2OuterUrl: http://27.154.233.186:10260/
  96. service-gateway:
  97. profileInnerUrl: http://172.19.103.73:10000/api/v1.0/admin
  98. profileOuterUrl: http://27.154.233.186:10000/api/v1.0/admin
  99. portalInnerUrl: http://172.19.103.73:10280/api/v1.0/portal
  100. portalOuterUrl: http://27.154.233.186:10280/api/v1.0/portal
  101. fast-dfs:
  102. tracker-server: 11.1.2.9:22122
  103. accessUrl: http://11.1.2.9
  104. logging:
  105. path: /data/logger
  106. file: app-emergency-server