| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- spring:
- main:
- allow-bean-definition-overriding: true
- profiles:
- include: undertow
- jackson:
- date-format: yyyy-MM-dd HH:mm:ss
- time-zone: GMT+8
- # 指定本地ip地址,适用于多网卡、网络适配器情况
- # cloud:
- # client:
- # ip-address: 127.0.0.1
- messages:
- default-locale: en_US
- locale-change-param-name: lang
- basename: i18n/messages
- cache-duration: 3600
- encoding: UTF-8
- ##spring boot用于设置上传文件大小--MultipartProperties.class
- servlet:
- multipart:
- max-file-size: 200MB # 最大支持文件大小
- max-request-size: 200MB # 最大支持请求大小
- resolve-lazily: true
- security:
- user:
- name: ibps
- password: ibps@123
- app:
- id: ${spring.application.name}
- version: 3.3.7-LC.RELEASE
- weights:
- - host: 192.168.3.210
- weight: 10
- - host: 192.168.3.220
- weight: 10
- - host: 192.168.3.230
- weight: 10
- - host: 192.168.3.240
- weight: 10
- management:
- endpoints:
- shutdown:
- enabled: false
- sensitive: false
- web:
- base-path: /
- exposure:
- include: '*'
- exclude: beans
- metrics:
- tags:
- application: ${spring.application.name}
- export:
- prometheus:
- enabled: true
- step: 1ms
- descriptions: true
- endpoint:
- health:
- enabled: true
- show-details: always
- env:
- enabled: true
- prometheus:
- enabled: true
- mappings:
- enabled: false
- health:
- mail:
- enabled: false
- redis:
- enabled: false
- rabbit:
- enabled: false
- mongo:
- enabled: false
- logging:
- config: classpath:config/log4j2.yml
- ##---------邮箱配置---------
- mail:
- notify-to: ${MAIL_NOTIFY_TO:}
- from-address: ${MAIL_FROM_ADDRESS:}
- host: ${MAIL_HOST:smtp.163.com}
- mail-address: ${MAIL_ADDRESS:}
- username: ${MAIL_USERNAME:}
- password: ${MAIL_PASSWORD:}
- ## 端口号 如果启用 163用465/994
- port: ${MAIL_PORT:465}
- default-encoding: utf-8
- ## 尝试使用AUTH命令认证用户
- smtp:
- auth: true
- ssl:
- enable: true
- starttls:
- enable: false
- ## 服务协议
- transport:
- protocol: ${MAIL_TRANSPORT_PROTOCOL:smtps}
- ##
- env: ${spring.profiles.active}
- apollo:
- meta: ${APOLLO_META:http://192.168.3.220:8080}
- bootstrap:
- enabled: ${APOLLO_BOOTSTRAP_ENABLED:false}
- aop:
- method:
- signature:
- open: ${METHOD_SIGNATURE_OPEN:true}
- delay: ${METHOD_SIGNATURE_DELAY:false}
- error:
- throw: ${METHOD_SIGNATURE_ERROR_THROW:false}
- com:
- lc:
- thread:
- size:
- max: ${THREAD_SIZE_MAX:256}
- work:
- count: ${THREAD_WORK_COUNT:3}
- config:
- enabled: ${CONFIG_ENABLED:false}
- cache:
- for-update: ${CACHE_FOR_UPDATE:false}
- runqian:
- server: ${RUNQIAN_SERVER:http://dev1.local}
- base-path: ${RUNQIAN_BASE_PATH:/demo}
- revoke:
- index-url: ${INDEX_URL:/ibps/business/v3/sys/CronNotify/data}
|