kt-event-marketing/deployment/container/docker-compose-event.yml
merrycoral 95a419f104 Event 엔티티에 참여자 및 ROI 필드 추가 및 Frontend-Backend 통합
🔧 Backend 변경사항:
- Event 엔티티에 participants, targetParticipants, roi 필드 추가
- EventDetailResponse DTO 및 EventService 매퍼 업데이트
- ROI 자동 계산 비즈니스 로직 구현
- SecurityConfig CORS 설정 추가 (localhost:3000 허용)

🎨 Frontend 변경사항:
- TypeScript EventDetail 타입 정의 업데이트
- Events 페이지 실제 API 데이터 연동 (Mock 데이터 제거)
- 참여자 수 및 ROI 기반 통계 계산 로직 개선

📝 문서:
- Event 필드 추가 및 API 통합 테스트 결과서 작성

 테스트 완료:
- Backend API 응답 검증
- CORS 설정 검증
- Frontend-Backend 통합 테스트 성공

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-29 13:23:09 +09:00

53 lines
1.6 KiB
YAML

version: '3.8'
services:
event-service:
image: acrdigitalgarage01.azurecr.io/kt-event-marketing/event-service:latest
container_name: event-service
ports:
- "8082:8082"
environment:
# Server Configuration
- SERVER_PORT=8082
# PostgreSQL Configuration (필수)
- DB_HOST=${DB_HOST:-your-postgresql-host}
- DB_PORT=${DB_PORT:-5432}
- DB_NAME=${DB_NAME:-eventdb}
- DB_USERNAME=${DB_USERNAME:-eventuser}
- DB_PASSWORD=${DB_PASSWORD:-your-db-password}
- DDL_AUTO=${DDL_AUTO:-update}
# Redis Configuration (필수)
- REDIS_HOST=${REDIS_HOST:-your-redis-host}
- REDIS_PORT=${REDIS_PORT:-6379}
- REDIS_PASSWORD=${REDIS_PASSWORD:-your-redis-password}
# Kafka Configuration (필수)
- KAFKA_BOOTSTRAP_SERVERS=${KAFKA_BOOTSTRAP_SERVERS:-your-kafka-host:9092}
# JWT Configuration (필수 - 최소 32자)
- JWT_SECRET=${JWT_SECRET:-your-jwt-secret-key-minimum-32-characters-required}
# Microservice URLs (선택)
- CONTENT_SERVICE_URL=${CONTENT_SERVICE_URL:-http://content-service:8083}
- DISTRIBUTION_SERVICE_URL=${DISTRIBUTION_SERVICE_URL:-http://distribution-service:8086}
# Logging Configuration (선택)
- LOG_LEVEL=${LOG_LEVEL:-INFO}
- SQL_LOG_LEVEL=${SQL_LOG_LEVEL:-WARN}
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8082/actuator/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
- kt-event-network
networks:
kt-event-network:
driver: bridge