mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
启用prob
This commit is contained in:
4
pom.xml
4
pom.xml
@@ -46,6 +46,10 @@
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-aop</artifactId>
|
||||
|
||||
@@ -4,10 +4,21 @@ geolite2:
|
||||
server:
|
||||
port: 7456
|
||||
|
||||
management:
|
||||
health:
|
||||
|
||||
livenessstate:
|
||||
enabled: true
|
||||
readinessstate:
|
||||
enabled: true
|
||||
|
||||
spring:
|
||||
|
||||
|
||||
devtools:
|
||||
restart:
|
||||
enabled: false
|
||||
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: update
|
||||
@@ -50,3 +61,17 @@ spring:
|
||||
enable-statistics: true
|
||||
application:
|
||||
name: coal
|
||||
logging:
|
||||
file:
|
||||
path: /data/logs
|
||||
name: ${spring.application.name}.log
|
||||
logback:
|
||||
rollingpolicy:
|
||||
total-size-cap: 1GB
|
||||
max-file-size: 100MB
|
||||
clean-history-on-start: true
|
||||
max-history: 7
|
||||
|
||||
pattern:
|
||||
console:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user