dev
parent
df4345f34c
commit
19cffe1c7c
5
pom.xml
5
pom.xml
|
@ -35,6 +35,11 @@
|
|||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
<!-- 获取spring boot相关应用程序信息 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
spring:
|
||||
# redis 配置
|
||||
redis:
|
||||
# host: 127.0.0.1
|
||||
# port: 6379
|
||||
# database: 8
|
||||
# timeout: 5000
|
||||
# auth: caolin123
|
||||
host: 118.31.23.45
|
||||
port: 6973
|
||||
host: 127.0.0.1
|
||||
port: 6379
|
||||
database: 8
|
||||
timeout: 5000
|
||||
password: c12&%3s7l=
|
||||
auth: caolin123
|
||||
# host: 118.31.23.45
|
||||
# port: 6973
|
||||
# database: 8
|
||||
# timeout: 5000
|
||||
# password: c12&%3s7l=
|
||||
|
||||
# 数据库 配置
|
||||
datasource:
|
||||
|
|
|
@ -2,12 +2,18 @@ server:
|
|||
port: 8888
|
||||
servlet:
|
||||
context-path: '/driver-api'
|
||||
# 程序状态监控
|
||||
management:
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: "*"
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: '@artifactId@'
|
||||
profiles:
|
||||
active: prod
|
||||
active: dev
|
||||
#mybatis
|
||||
mybatis-plus:
|
||||
mapper-locations: classpath*:/mapper/**Mapper.xml
|
||||
|
|
Loading…
Reference in New Issue