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