|
|
|
|
@ -1,19 +1,18 @@
|
|
|
|
|
server:
|
|
|
|
|
port: 8086
|
|
|
|
|
undertow:
|
|
|
|
|
worker-threads: 200
|
|
|
|
|
|
|
|
|
|
port: 8111
|
|
|
|
|
spring:
|
|
|
|
|
datasource:
|
|
|
|
|
url: jdbc:mysql://mall4j-mysql:3306/yami_shops?allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
|
|
|
|
|
username: root
|
|
|
|
|
password: root
|
|
|
|
|
url: jdbc:mysql://${MYSQL_HOST:mall4j-mysql}:${MYSQL_PORT:3306}/${MYSQL_DATABASE:yami_shops}?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
|
|
|
|
|
connection-test-query: select 1
|
|
|
|
|
idle-timeout: 25000
|
|
|
|
|
auto-commit: true
|
|
|
|
|
connection-test-query: SELECT 1
|
|
|
|
|
redis:
|
|
|
|
|
redisson:
|
|
|
|
|
config: classpath:redisson-docker.yml
|
|
|
|
|
|