hgzero/stt/bin/test/application-test.yml
2025-10-23 18:33:21 +09:00

55 lines
1.3 KiB
YAML

# STT 서비스 테스트 설정
spring:
profiles:
active: test
# 데이터베이스 설정 (H2 인메모리)
datasource:
url: jdbc:h2:mem:testdb
driver-class-name: org.h2.Driver
username: sa
password:
# JPA 설정
jpa:
hibernate:
ddl-auto: create-drop
show-sql: true
properties:
hibernate:
dialect: org.hibernate.dialect.H2Dialect
format_sql: true
# Redis 설정 (임베디드)
redis:
host: localhost
port: 6370
timeout: 2000ms
# JWT 설정
security:
jwt:
secret: test-secret-key-for-jwt-token-generation-test
expiration: 86400
# Azure 서비스 설정 (테스트용 더미)
azure:
speech:
subscription-key: test-key
region: koreacentral
endpoint: https://test.cognitiveservices.azure.com/
storage:
connection-string: DefaultEndpointsProtocol=https;AccountName=testaccount;AccountKey=testkey;EndpointSuffix=core.windows.net
container-name: test-recordings
event-hubs:
connection-string: Endpoint=sb://test-eventhub.servicebus.windows.net/;SharedAccessKeyName=test;SharedAccessKey=test
consumer-group: test-group
# 로깅 설정
logging:
level:
com.unicorn.hgzero.stt: DEBUG
org.springframework.web: DEBUG
org.hibernate.SQL: DEBUG