83 lines
2.0 KiB
YAML
83 lines
2.0 KiB
YAML
server:
|
|
port: 8081
|
|
|
|
spring:
|
|
datasource:
|
|
url: ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/cameleer3?currentSchema=tenant_${cameleer.tenant.id}}
|
|
username: ${SPRING_DATASOURCE_USERNAME:cameleer}
|
|
password: ${SPRING_DATASOURCE_PASSWORD:cameleer_dev}
|
|
driver-class-name: org.postgresql.Driver
|
|
flyway:
|
|
enabled: true
|
|
locations: classpath:db/migration
|
|
create-schemas: true
|
|
mvc:
|
|
async:
|
|
request-timeout: -1
|
|
jackson:
|
|
serialization:
|
|
write-dates-as-timestamps: false
|
|
deserialization:
|
|
fail-on-unknown-properties: false
|
|
|
|
agent-registry:
|
|
heartbeat-interval-ms: 30000
|
|
stale-threshold-ms: 90000
|
|
dead-threshold-ms: 300000
|
|
ping-interval-ms: 15000
|
|
command-expiry-ms: 60000
|
|
lifecycle-check-interval-ms: 10000
|
|
|
|
ingestion:
|
|
buffer-capacity: 50000
|
|
batch-size: 5000
|
|
flush-interval-ms: 5000
|
|
|
|
cameleer:
|
|
tenant:
|
|
id: ${CAMELEER_TENANT_ID:default}
|
|
body-size-limit: ${CAMELEER_BODY_SIZE_LIMIT:16384}
|
|
indexer:
|
|
debounce-ms: ${CAMELEER_INDEXER_DEBOUNCE_MS:2000}
|
|
queue-size: ${CAMELEER_INDEXER_QUEUE_SIZE:10000}
|
|
|
|
security:
|
|
access-token-expiry-ms: 3600000
|
|
refresh-token-expiry-ms: 604800000
|
|
bootstrap-token: ${CAMELEER_AUTH_TOKEN:}
|
|
bootstrap-token-previous: ${CAMELEER_AUTH_TOKEN_PREVIOUS:}
|
|
ui-user: ${CAMELEER_UI_USER:admin}
|
|
ui-password: ${CAMELEER_UI_PASSWORD:admin}
|
|
ui-origin: ${CAMELEER_UI_ORIGIN:http://localhost:5173}
|
|
jwt-secret: ${CAMELEER_JWT_SECRET:}
|
|
oidc-issuer-uri: ${CAMELEER_OIDC_ISSUER_URI:}
|
|
oidc-audience: ${CAMELEER_OIDC_AUDIENCE:}
|
|
|
|
|
|
springdoc:
|
|
api-docs:
|
|
path: /api/v1/api-docs
|
|
swagger-ui:
|
|
path: /api/v1/swagger-ui
|
|
|
|
clickhouse:
|
|
enabled: ${CLICKHOUSE_ENABLED:true}
|
|
url: ${CLICKHOUSE_URL:jdbc:clickhouse://localhost:8123/cameleer}
|
|
username: ${CLICKHOUSE_USERNAME:default}
|
|
password: ${CLICKHOUSE_PASSWORD:}
|
|
|
|
logging:
|
|
level:
|
|
com.clickhouse: INFO
|
|
org.apache.hc.client5: WARN
|
|
|
|
management:
|
|
endpoints:
|
|
web:
|
|
base-path: /api/v1
|
|
exposure:
|
|
include: health
|
|
endpoint:
|
|
health:
|
|
show-details: always
|