item-atlas/backend/intake-service/src/main/resources/application.yml

66 lines
1.4 KiB
YAML

spring:
http:
clients:
connect-timeout: 3s
read-timeout: 60s
ai:
ollama:
base-url: ${ATLAS_OLLAMA_URL:http://127.0.0.1:11434}
init:
pull-model-strategy: never
chat:
model: ${ATLAS_OLLAMA_MODEL:gemma4:12b}
keep-alive: 30s
num-ctx: 4096
retry:
max-attempts: 1
application:
name: item-atlas-intake
datasource:
url: ${ATLAS_DB_URL:jdbc:postgresql://127.0.0.1:5432/itematlas_intake}
username: ${ATLAS_DB_USER}
password: ${ATLAS_DB_PASSWORD}
mvc:
problemdetails:
enabled: true
server:
port: ${PORT:8082}
atlas:
inventory:
url: ${ATLAS_INVENTORY_URL:http://127.0.0.1:8081}
logging:
structured:
format:
console: ${ATLAS_LOG_FORMAT:logstash}
management:
metrics:
tags:
application: ${spring.application.name}
distribution:
percentiles-histogram:
http.server.requests: true
tracing:
propagation:
type: w3c
sampling:
probability: ${ATLAS_TRACE_SAMPLE_RATE:0.1}
export:
otlp:
enabled: ${ATLAS_OTLP_TRACES_ENABLED:false}
opentelemetry:
tracing:
export:
otlp:
endpoint: ${ATLAS_OTLP_TRACES_ENDPOINT:http://127.0.0.1:4318/v1/traces}
endpoint:
health:
probes:
enabled: true
group:
readiness:
include: readinessState,db
endpoints:
web:
exposure:
include: health,info,prometheus