配置文件
This commit is contained in:
parent
9773f42df7
commit
8677b21928
9
pom.xml
9
pom.xml
@ -39,6 +39,15 @@
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
<version>2.6</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
|
@ -2,9 +2,20 @@ spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://localhost:3306/love-nav
|
||||
username: root
|
||||
password: 1611
|
||||
password: Cheng123...
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
|
||||
redis:
|
||||
host: localhost
|
||||
port: 6379
|
||||
password: Cheng123...
|
||||
database: 0
|
||||
lettuce:
|
||||
pool:
|
||||
max-idle: 200
|
||||
max-active: 1024
|
||||
min-idle: 0
|
||||
max-wait: -1
|
||||
timeout: 10000
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user