Files
novalon-manage-system/novalon-manage-api/manage-sys/src/main/resources/application.yml
T

69 lines
1.4 KiB
YAML

server:
port: 8084
netty:
connection-timeout: 60s
idle-timeout: 300s
spring:
application:
name: novalon-manage-api
servlet:
multipart:
enabled: true
max-file-size: 10MB
max-request-size: 10MB
datasource:
url: jdbc:postgresql://localhost:55432/manage_system
username: postgres
password: postgres
driver-class-name: org.postgresql.Driver
r2dbc:
url: r2dbc:pool:postgresql://localhost:55432/manage_system
username: postgres
password: postgres
flyway:
enabled: true
url: jdbc:postgresql://localhost:55432/manage_system
user: postgres
password: postgres
locations: classpath:db/migration
baseline-on-migrate: true
jwt:
secret: novalon-manage-secret-key-change-in-production
expiration: 86400000
websocket:
enabled: true
heartbeat-interval: 30s
idle-timeout: 300s
max-text-message-buffer-size: 8192
max-binary-message-buffer-size: 8192
resilience4j:
ratelimiter:
instances:
apiRateLimiter:
limit-for-period: 100
limit-refresh-period: 1s
timeout-duration: 0
logging:
level:
cn.novalon.manage: DEBUG
management:
endpoints:
web:
exposure:
include: health,info,metrics,prometheus
endpoint:
health:
show-details: always
metrics:
access: read-only
prometheus:
metrics:
export:
enabled: true