hgzero/docker-compose.test.yml
Minseo-Jo ad8e0adbd8 STT 테스트 환경 구성 및 유저스토리 업데이트
- docker-compose.test.yml 추가: 테스트용 컨테이너 환경 구성
- STT 테스트 설정 및 컨트롤러 테스트 코드 추가
- application.yml 업데이트
- 테스트 스크립트 추가
- 유저스토리 문서 업데이트

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-24 14:50:56 +09:00

46 lines
1.1 KiB
YAML

version: '3.8'
services:
# Test Database
postgres-test:
image: postgres:15-alpine
environment:
POSTGRES_DB: sttdb_test
POSTGRES_USER: testuser
POSTGRES_PASSWORD: testpass
ports:
- "5433:5432"
volumes:
- postgres_test_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U testuser -d sttdb_test"]
interval: 5s
timeout: 5s
retries: 5
# Test Redis
redis-test:
image: redis:7-alpine
ports:
- "6380:6379"
command: redis-server --requirepass testpass
healthcheck:
test: ["CMD", "redis-cli", "-a", "testpass", "ping"]
interval: 5s
timeout: 3s
retries: 5
# Test Azure Storage Emulator (Azurite)
azurite-test:
image: mcr.microsoft.com/azure-storage/azurite
ports:
- "10000:10000" # Blob service
- "10001:10001" # Queue service
- "10002:10002" # Table service
command: azurite --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0
volumes:
- azurite_data:/data
volumes:
postgres_test_data:
azurite_data: