mirror of
https://github.com/ktds-dg0501/kt-event-marketing.git
synced 2025-12-06 11:26:26 +00:00
- content-service/build.gradle: bootJar 파일명 설정 추가
- deployment/container/Dockerfile-backend: 백엔드 서비스 Docker 이미지 파일
- deployment/container/docker-compose.yml: Docker Compose 설정 (환경변수 포함)
- deployment/container/build-and-run.sh: 자동화 빌드 및 배포 스크립트
- deployment/container/build-image.md: 상세 배포 가이드 문서
주요 환경변수:
- JWT_SECRET: 32자 이상 JWT 서명 키 (JWT 오류 해결)
- REDIS/KAFKA: 외부 서버 연결 정보
- REPLICATE_API_TOKEN: Stable Diffusion API 토큰
- AZURE_STORAGE_CONNECTION_STRING: Azure Blob Storage 연결
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
29 lines
1.0 KiB
Groovy
29 lines
1.0 KiB
Groovy
configurations {
|
|
// Exclude JPA and PostgreSQL from inherited dependencies (Phase 3: Redis migration)
|
|
implementation.exclude group: 'org.springframework.boot', module: 'spring-boot-starter-data-jpa'
|
|
implementation.exclude group: 'org.postgresql', module: 'postgresql'
|
|
}
|
|
|
|
dependencies {
|
|
// Redis for AI data reading and image URL caching
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
|
|
|
|
// OpenFeign for Stable Diffusion/DALL-E API
|
|
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'
|
|
|
|
// Azure Blob Storage for CDN
|
|
implementation "com.azure:azure-storage-blob:${azureStorageVersion}"
|
|
|
|
// Resilience4j for Circuit Breaker
|
|
implementation "io.github.resilience4j:resilience4j-spring-boot3:${resilience4jVersion}"
|
|
implementation "io.github.resilience4j:resilience4j-circuitbreaker:${resilience4jVersion}"
|
|
|
|
// Jackson for JSON
|
|
implementation 'com.fasterxml.jackson.core:jackson-databind'
|
|
}
|
|
|
|
// 실행 JAR 파일명 설정
|
|
bootJar {
|
|
archiveFileName = 'content-service.jar'
|
|
}
|