sharding-sphere5/service/src/main/resources/application.yml

29 lines
626 B
YAML
Raw Normal View History

2024-07-28 03:13:27 +08:00
server:
port: 8800
spring:
main:
allow-bean-definition-overriding: true
2024-07-28 03:13:27 +08:00
profiles:
active: @profiles.active@
application:
name: bunny-service
datasource:
driver-class-name: org.apache.shardingsphere.driver.ShardingSphereDriver
url: jdbc:shardingsphere:classpath:sharding.yaml
2024-07-28 20:37:03 +08:00
2024-07-28 03:13:27 +08:00
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
mybatis-plus:
mapper-locations: classpath:mapper/*.xml
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 查看日志
logging:
pattern:
dateformat: HH:mm:ss:SSS
file:
path: "logs/${spring.application.name}"