9f8bf041c3
fix: 修复测试配置和依赖检查 perf: 优化雪花算法性能 refactor: 清理冗余代码和未使用的导入 style: 统一代码格式和注释 test: 添加单元测试和集成测试 ci: 更新CI配置和构建脚本 chore: 更新依赖和配置文件
51 lines
1.0 KiB
YAML
51 lines
1.0 KiB
YAML
server:
|
|
port: 8080
|
|
|
|
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
|
|
|
|
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
|