49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
server:
|
|
port: 8016
|
|
|
|
spring:
|
|
application:
|
|
name: zioinfo-esn
|
|
datasource:
|
|
url: ${DB_URL:jdbc:postgresql://localhost:5432/esn_db}
|
|
username: ${DB_USER:esn_user}
|
|
password: ${DB_PASS:esn_pass2026}
|
|
driver-class-name: org.postgresql.Driver
|
|
hikari:
|
|
maximum-pool-size: 3
|
|
connection-timeout: 30000
|
|
web:
|
|
resources:
|
|
static-locations: classpath:/static/
|
|
mvc:
|
|
throw-exception-if-no-handler-found: true
|
|
|
|
mybatis:
|
|
mapper-locations: classpath:mapper/*.xml
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
|
|
type-aliases-package: com.zioinfo.esn.domain
|
|
|
|
guardia:
|
|
ollama-url: ${OLLAMA_URL:http://localhost:11434}
|
|
ollama-text-model: ${OLLAMA_TEXT_MODEL:llama3}
|
|
itsm-url: ${ITSM_URL:http://localhost:9001}
|
|
jwt:
|
|
secret: ${JWT_SECRET:ZioInfoEsnJwtSecret2026VeryLongSecretKeyForHS256AlgorithmAtLeast256Bits}
|
|
expiration: 86400000
|
|
|
|
management:
|
|
endpoints:
|
|
web:
|
|
exposure:
|
|
include: health
|
|
endpoint:
|
|
health:
|
|
show-details: never
|
|
|
|
logging:
|
|
level:
|
|
com.zioinfo.esn: DEBUG
|
|
org.mybatis: WARN
|