guardia-hrm/backend/target/classes/application.yml

54 lines
1.5 KiB
YAML

server:
port: 8014
spring:
application:
name: guardia-hrm
datasource:
url: ${DB_URL:jdbc:postgresql://localhost:5432/hrm_db}
username: ${DB_USER:hrm_user}
password: ${DB_PASS:hrm_pass2026}
driver-class-name: org.postgresql.Driver
hikari:
# 운영 함정 준수: 다중 솔루션 동시 기동 시 PG max_connections 보호 — 풀 3개 캡.
maximum-pool-size: ${DB_POOL_MAX:3}
minimum-idle: 1
sql:
init:
mode: ${SQL_INIT_MODE:never}
schema-locations: classpath:db/schema.sql
servlet:
multipart:
max-file-size: 20MB
max-request-size: 20MB
mybatis:
mapper-locations: classpath:mapper/**/*.xml
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
springdoc:
api-docs:
path: /api/hrm/docs
swagger-ui:
path: /api/hrm/swagger
guardia:
erp-url: ${ERP_URL:http://localhost:8003}
itsm-url: ${ITSM_URL:http://localhost:9001}
groupware-url: ${GROUPWARE_URL:http://localhost:8009}
# 보안 불변 규칙: Ollama 온프레미스만 허용. 외부 AI API 절대 금지.
ollama-url: ${OLLAMA_URL:http://localhost:11434}
ollama-text-model: ${OLLAMA_TEXT_MODEL:llama3}
crypto:
secret: ${HRM_CRYPTO_SECRET:guardia-hrm-aes-256-gcm-master-key-2026-zioinfo}
jwt:
secret: ${JWT_SECRET:guardia-hrm-jwt-secret-2026-minimum-256bit-key-zioinfo}
expiration: 86400000
logging:
level:
com.zioinfo.hrm: DEBUG
org.mybatis: WARN