You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.2 KiB
60 lines
1.2 KiB
server:
|
|
port: 10702
|
|
# port: 10010
|
|
|
|
spring:
|
|
servlet:
|
|
multipart:
|
|
max-file-size: 10MB
|
|
max-request-size: 100MB
|
|
datasource:
|
|
hikari:
|
|
maximum-pool-size: 10
|
|
minimum-idle: 5
|
|
idle-timeout: 30000
|
|
max-lifetime: 1800000
|
|
connection-timeout: 30000
|
|
pool-name: HwgoldHikariCP
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://54.251.137.151:10701/hwgold?serverTimezone=Asia/Shanghai
|
|
# url: jdbc:mysql://39.101.133.168/hwgold?serverTimezone=GMT%2b8
|
|
username: hwgold
|
|
password: 'AGX4Z3YMxiCG3GR2'
|
|
application:
|
|
name: demo
|
|
cache:
|
|
type: redis
|
|
redis:
|
|
time-to-live: 3600000
|
|
use-key-prefix: true
|
|
cache-null-values: true
|
|
data:
|
|
redis:
|
|
host: 54.251.137.151
|
|
port: 10703
|
|
password: 8912h12jhhajsd
|
|
timeout: 1000
|
|
# host: 127.0.0.1
|
|
# port: 6379
|
|
# timeout: 1000
|
|
# host: 39.99.159.73
|
|
# port: 20001
|
|
# password: 8912h12jhhajsd
|
|
# timeout: 1000
|
|
|
|
lettuce:
|
|
pool:
|
|
max-active: 20
|
|
max-wait: -1
|
|
max-idle: 5
|
|
|
|
|
|
|
|
|
|
mybatis:
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
upload:
|
|
path: /home/java/haiwaiyanfa/gold1/
|