Files
Homme/src/main/resources/application.properties
T
Mohammad Zwaib 3b2d705e62 secont commit
2026-07-07 20:10:24 +02:00

52 lines
1.8 KiB
Properties

spring.application.name=Homme
# Load secrets from .env (classpath) so ${DB_PASSWORD}, ${HUMBEE_PASSWORD},
# ${AZURE_EMBEDDING_KEY}, ${OPENAI_API_MISTRAL_KEY} below resolve from it.
# "optional:" => app still starts if .env is absent (e.g. secrets come from real env vars).
spring.config.import=optional:classpath:/.env[.properties]
server.port =9192
spring.datasource.url=jdbc:postgresql://homme-pg-dev-01.postgres.database.azure.com:5432/postgres?sslmode=require
spring.datasource.username=mohammadadmin
spring.datasource.password=${DB_PASSWORD}
spring.datasource.driver-class-name=org.postgresql.Driver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
#OPENAI
#spring.ai.openai.api-key=${OPENAI_API_KEY}
openai.enabled = true
ai.provider=azure-mistral
azure.mistral.endpoint=https://homme-foundry-dev.services.ai.azure.com
azure.mistral.api-key=${OPENAI_API_MISTRAL_KEY}
azure.mistral.deployment=mistral-medium-3-5
azure.mistral.api-version=2024-05-01-preview
#Embedding
azure.embedding.endpoint=https://homme-foundry-dev.services.ai.azure.com
azure.embedding.api-key=${AZURE_EMBEDDING_KEY}
azure.embedding.deployment=homme-embedding
azure.embedding.api-version=2024-05-01-preview
#Agent
azure.web-agent.project-endpoint=https://homme-foundry-dev.services.ai.azure.com/api/projects/homme-project
azure.web-agent.name=homme-web-search-agent
server.error.include-message=always
server.error.include-binding-errors=always
server.error.include-stacktrace=never
server.error.include-exception=false
logging.level.root=INFO
logging.level.org.springframework.web=DEBUG
logging.level.org.springframework.security=DEBUG
#Humbee
humbee.login.email=mohammad.zwaib@borsig11.de
humbee.login.password=${HUMBEE_PASSWORD}