| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- spring:
- profiles:
- active: agentLv
- ---
- server:
- port: 9027
- tomcat:
- uri-encoding: utf-8
- # 注册中心配置
- eureka:
- client:
- service-url:
- defaultZone: http://172.16.0.46:9511/eureka/
- instance:
- prefer-ip-address: true
- # 每隔10s发送一次心跳(默认30s)
- lease-renewal-interval-in-seconds: 10
- # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
- lease-expiration-duration-in-seconds: 30
- spring:
- profiles: agentLv
- application:
- name: depot-agent
- # 数据库配置
- datasource:
- driver-class-name: com.mysql.jdbc.Driver
- url: jdbc:mysql://172.16.0.46:3306/depot-yunnan?useUnicode=true&characterEncoding=utf-8
- username: root
- password: 123456
- # 缓存配置
- session:
- store-type: redis
- redis:
- database: 0
- host: 192.168.123.98
- port: 6666
- password: depotredis
- timeout: 3000
- jedis:
- pool:
- max-active: 8
- max-wait: -1
- max-idle: 8
- min-idle: 0
- # 静态资源配置
- resources:
- static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
- web:
- upload-path: /upload
- ---
- server:
- port: 9027
- tomcat:
- uri-encoding: utf-8
- # 注册中心配置
- eureka:
- client:
- service-url:
- defaultZone: http://192.168.123.98:9001/eureka/
- instance:
- prefer-ip-address: true
- # 每隔10s发送一次心跳(默认30s)
- lease-renewal-interval-in-seconds: 10
- # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
- lease-expiration-duration-in-seconds: 30
- spring:
- profiles: dev
- application:
- name: depot-agent-lv
- # 数据库配置
- datasource:
- driver-class-name: com.mysql.jdbc.Driver
- url: jdbc:mysql://192.168.123.38:3306/depot_yunnan?useUnicode=true&characterEncoding=utf-8
- username: root
- password: 123456
- # 缓存配置
- session:
- store-type: redis
- redis:
- database: 0
- host: 192.168.123.98
- port: 6666
- password: depotredis
- timeout: 3000
- jedis:
- pool:
- max-active: 8
- max-wait: -1
- max-idle: 8
- min-idle: 0
- # 静态资源配置
- resources:
- static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
- web:
- upload-path: /upload
- logging.level.com.chinaitop.depot.agent.crk.mapper: debug
|