server:
|
port: 8112
|
spring:
|
datasource:
|
url: jdbc:mysql://${MYSQL_HOST:mall4j-mysql}:${MYSQL_PORT:3306}/${MYSQL_DATABASE:yami_bbc}?allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
|
username: ${MYSQL_USERNAME:root}
|
password: ${MYSQL_PASSWORD:root}
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
type: com.zaxxer.hikari.HikariDataSource
|
hikari:
|
minimum-idle: 0
|
maximum-pool-size: 20
|
idle-timeout: 25000
|
auto-commit: true
|
connection-test-query: select 1
|
redis:
|
host: ${REDIS_HOST}
|
port: ${REDIS_PORT}
|
database: ${REDIS_DATABASE:0}
|
logging:
|
config: classpath:logback/logback-docker.xml
|
elastic:
|
address: ${ELASTIC_ADDRESS:http://localhost:9200}
|
|
management:
|
endpoint:
|
health:
|
probes:
|
enabled: true
|
endpoints:
|
web:
|
exposure:
|
include: health,startup
|