18 lines
580 B
YAML
18 lines
580 B
YAML
spring:
|
|
# 数据源
|
|
datasource:
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
username: ${MYSQL-USER:root}
|
|
password: ${MYSQL-PWD:root}
|
|
url: jdbc:mysql://${MYSQL-HOST:pigx-mysql}:${MYSQL-PORT:3306}/${MYSQL-DB:pigxx_zipkin}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8
|
|
management:
|
|
metrics:
|
|
web:
|
|
server:
|
|
auto-time-requests: false
|
|
zipkin:
|
|
storage:
|
|
type: mysql
|
|
sleuth:
|
|
enabled: true |