| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- spring:
- datasource:
- type: com.alibaba.druid.pool.DruidDataSource
- driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://${DB_HOST:192.168.50.10}:${DB_PORT:3306}/${DB_NAME:b2b_product}?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
- username: ${DB_USERNAME:b2b_order}
- password: ${DB_PASSWORD:123456}
- druid:
- initial-size: ${DB_INITIAL_SIZE:10}
- min-idle: ${DB_MIN_IDLE:10}
- max-active: ${DB_MAX_ACTIVE:50}
- max-wait: ${DB_MAX_WAIT:60000}
- redisson:
- single-server-config:
- address: redis://${REDIS_HOST:192.168.50.8}:${REDIS_PORT:6379}
- password: ${REDIS_PASSWORD:Pass2010}
- database: ${REDIS_DATABASE:1}
- connection-minimum-idle-size: ${REDIS_MIN_IDLE:10}
- connection-pool-size: ${REDIS_POOL_SIZE:64}
- management:
- endpoints:
- web:
- exposure:
- include: health,info,metrics
- endpoint:
- health:
- show-details: when_authorized
- logging:
- level:
- com.poyee: info
- feign:
- client:
- checklist:
- url: ${CHECKLIST_URL:http://localhost:8084}
- order:
- url: ${ORDER_URL:http://localhost:8081}
- dict:
- url: ${DICT_URL:http://localhost:8082}
|