123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- spring:
- profiles:
- active: clouda
- server:
- port: 9028
- tomcat:
- uri-encoding: utf-8
- ---
- # 注册中心配置 defaultZone: http://eureka-depot:9001/eureka/
- eureka:
- client:
- service-url:
- defaultZone: http://eureka-depot:9001/eureka/
- registerWithEureka: false
- fetchRegistry: false
- instance:
- prefer-ip-address: true
- ip-address: eureka-depot
- status-page-url: http://eureka-depot:${server.port}/swagger-ui.html
- instance-id: ${eureka.instance.ip-address}:${server.port}
- spring:
- profiles: locala
- application:
- name: depot-intelligent
- # 数据库配置
- datasource:
- driver-class-name: com.mysql.jdbc.Driver
- url: jdbc:mysql://localhost:3306/depot?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
- username: root
- password: 123456
- # 缓存配置
- session:
- store-type: redis
- redis:
- database: 0
- host: localhost
- port: 6379
- password:
- 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}
- jackson:
- date-format: yyyy-MM-dd HH:mm:ss
- time-zone: GMT+8
- web:
- upload-path: D:/upload
- #socket地址
- #socket-url: 127.0.0.1
- #socket-port: 8999
- socket-url: localhost
- socket-port: 8999
- #设置全局变量判断是云端还是库端;1云端,2本地
- localOrCloud: 2
- # 多通道气体
- gas-org-ids: 386,177,273,280,300
- # 数量检测版本区分version3
- num_version3: :20013
- ---
- # 注册中心配置 defaultZone: http://eureka-depot:9001/eureka/
- eureka:
- client:
- service-url:
- defaultZone: http://localhost:9001/eureka/
- instance:
- prefer-ip-address: true
- lease-renewal-interval-in-seconds: 10
- lease-expiration-duration-in-seconds: 30
- spring:
- profiles: clouda
- application:
- name: depot-intelligent
- # 数据库配置
- datasource:
- driver-class-name: com.mysql.jdbc.Driver
- url: jdbc:mysql://localhost:3306/depot?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
- username: root
- password: 123456
- # 缓存配置
- session:
- store-type: redis
- redis:
- database: 0
- host: localhost
- port: 6379
- password:
- 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}
- jackson:
- date-format: yyyy-MM-dd HH:mm:ss
- time-zone: GMT+8
- web:
- upload-path: /home
- #socket地址
- #socket-url: 127.0.0.1
- #socket-port: 8999
- socket-url: localhost
- socket-port: 8999
- #设置全局变量判断是云端还是库端;1云端,2本地
- localOrCloud: 2
- # 多通道气体
- gas-org-ids: 386,177,273,280,300
- # 数量检测版本区分version3
- num_version3: :20013
|