启用prob

This commit is contained in:
2023-08-07 15:59:08 +08:00
parent d4c8d5ad13
commit 7ce7023a03
2 changed files with 29 additions and 0 deletions

View File

@@ -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>

View File

@@ -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: