humainflow-service/src/main/resources/application.properties

40 lines
1.7 KiB
Properties

spring.application.name=workflow-manager
#postgresql details
spring.datasource.url=${DB_URL:jdbc:postgresql://localhost:5432/mydb}
spring.datasource.username=${DB_USER:lucio}
spring.datasource.password=${DB_PASSWORD:password}
spring.datasource.driver-class-name=org.postgresql.Driver
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.hibernate.ddl-auto=create-drop
# Keycloak
#keycloak.realm=${REALM_NAME:wf-editor}
#keycloak.auth-server-url=${KEYCLOAK_URL:http://localhost:8080}
#keycloak.resource=${KC_CLIENT:workflow-manager}
#keycloak.credentials.secret=${CLIENT_SECRET:mySecret}
#keycloak.ssl-required=none
#keycloak.bearer-only=true
# Spring security
#spring.security.oauth2.resourceserver.jwt.issuer-uri=${KEYCLOAK_ISS_URL:http://localhost:8081}/realms/${REALM_NAME:wf-editor}
#spring.security.oauth2.resourceserver.jwt.jwk-set-uri=${KEYCLOAK_URL:http://localhost:8081}/realms/${REALM_NAME:wf-editor}/protocol/openid-connect/certs
# Per autorizzare solo con token
#spring.security.oauth2.resourceserver.jwt.audiences=workflow-manager
# create and drop table, good for testing, production set to none or comment it
app.db.init.enabled=true
app.security.key=${WFEDITOR_SECRET_KEY:088c65fd2a5ca418a79cd10df5dff15c0a79781c0da4fd43c1c14e4e2d7af1ff}
app.ollama.internal.key=${OLLAMA_INTERNAL_KEY:ollama}
app.ollama.internal.url=${OLLAMA_INTERNAL_URL:https://ollama.internal/api}
app.assistant.default-model=${ASSISTANT_DEFAULT_MODEL:gemma3:12b}
cors.allowed-origins=${CORS_ALLOWED_ORIGINS:http://localhost:4200}
app.import.path=${IMPORT_PATH:/workflow-editor-init}
app.import.enabled=true
logging.level.it.cnr.isti.workflow.manager=DEBUG
logging.level.root=ERROR