36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
server:
|
|
port: 3000
|
|
spring:
|
|
datasource:
|
|
username: landaiqing
|
|
password: iPHzskWvLGI2TrPw2AV7pu4C8O4bfxSSeQrkIqq0ZwM5tpBmx4aI6xN/8xjYgSmIir5v2Cv35Fn2732AypFKww==
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://116.196.80.239:3306/jc-club?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=true
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
druid:
|
|
initial-size: 20
|
|
min-idle: 20
|
|
max-active: 100
|
|
max-wait: 60000
|
|
connectionProperties: config.decrypt=true;config.decrypt.key=${publicKey};
|
|
stat-view-servlet:
|
|
enabled: true
|
|
url-pattern: /druid/*
|
|
login-username: admin
|
|
login-password: 123456
|
|
filter:
|
|
stat:
|
|
enabled: true
|
|
slow-sql-millis: 2000
|
|
log-slow-sql: true
|
|
wall:
|
|
enabled: true
|
|
config:
|
|
enabled: true
|
|
publicKey: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKsYR+P7j9DehNkZaLxNeeoqU6ThCw3SNYCoPt1S7yeP1gEzpdS1cCQcz7/7OLQI/iFFjIJgXQDM2CA85yIomTMCAwEAAQ==
|
|
logging:
|
|
config: classpath:log4j2-spring.xml
|
|
|
|
|
|
|