Files
AIOA/backend/boot/src/main/resources/application.yaml
T
2026-07-18 19:20:07 +08:00

59 lines
1.3 KiB
YAML

spring:
application:
name: aioa-backend
datasource:
url: ${DB_URL:jdbc:postgresql://127.0.0.1:15432/aioa}
username: ${DB_USER:aioa}
password: ${DB_PASSWORD:change-me}
hikari:
maximum-pool-size: ${DB_POOL_SIZE:10}
minimum-idle: 1
flyway:
enabled: true
locations: classpath:db/migration
jooq:
sql-dialect: postgres
security:
oauth2:
resourceserver:
jwt:
issuer-uri: ${OIDC_ISSUER_URI:http://localhost:8081/realms/aioa}
server:
port: ${SERVER_PORT:8080}
shutdown: graceful
error:
include-message: never
management:
endpoints:
web:
exposure:
include: health,info,prometheus
endpoint:
health:
probes:
enabled: true
logging:
pattern:
correlation: "[traceId=%X{traceId:-}] "
flowable:
database-schema: flowable
database-schema-update: ${FLOWABLE_SCHEMA_UPDATE:true}
async-executor-activate: false
history-level: audit
aioa:
ai-service:
url: ${AI_SERVICE_URL:http://127.0.0.1:8000}
object-storage:
endpoint: ${MINIO_ENDPOINT:http://127.0.0.1:9000}
access-key: ${MINIO_ROOT_USER:minioadmin}
secret-key: ${MINIO_ROOT_PASSWORD:change-me-now}
bucket: ${MINIO_BUCKET:aioa-attachments}
push:
firebase-credentials-file: ${FIREBASE_CREDENTIALS_FILE:}
dispatch-interval-ms: ${PUSH_DISPATCH_INTERVAL_MS:5000}