Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
JUDGE0_API_URL: ${{ secrets.JUDGE0_API_URL }}
JUDGE0_USE_RAPIDAPI: ${{ secrets.JUDGE0_USE_RAPIDAPI }}
JUDGE0_RAPIDAPI_HOST: ${{ secrets.JUDGE0_RAPIDAPI_HOST }}
BE_BASE_URL: ${{ secrets.BE_BASE_URL }}
SPRING_CALLBACK_URL: ${{ secrets.SPRING_CALLBACK_URL }}
GOOGLE_SERVICE_ACCOUNT_JSON: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_JSON }}

Expand All @@ -49,7 +50,7 @@ jobs:
username: ${{ secrets.DEPLOY_USER }}
key: ${{ secrets.DEPLOY_SSH_KEY }}
port: ${{ secrets.DEPLOY_PORT || 22 }}
envs: DEPLOY_DIR,DOCKERHUB_USERNAME,POSTGRES_HOST,POSTGRES_PORT,POSTGRES_USER,POSTGRES_PASSWORD,POSTGRES_DB,GEMINI_API_KEY,JUDGE0_API_KEY,JUDGE0_API_URL,JUDGE0_USE_RAPIDAPI,JUDGE0_RAPIDAPI_HOST,SPRING_CALLBACK_URL,GOOGLE_SERVICE_ACCOUNT_JSON
envs: DEPLOY_DIR,DOCKERHUB_USERNAME,POSTGRES_HOST,POSTGRES_PORT,POSTGRES_USER,POSTGRES_PASSWORD,POSTGRES_DB,GEMINI_API_KEY,JUDGE0_API_KEY,JUDGE0_API_URL,JUDGE0_USE_RAPIDAPI,JUDGE0_RAPIDAPI_HOST,BE_BASE_URL,SPRING_CALLBACK_URL,GOOGLE_SERVICE_ACCOUNT_JSON
script: |
set -e
mkdir -p "${{ env.DEPLOY_DIR }}"
Expand All @@ -70,6 +71,7 @@ jobs:
JUDGE0_API_URL=$JUDGE0_API_URL
JUDGE0_USE_RAPIDAPI=${JUDGE0_USE_RAPIDAPI:-true}
JUDGE0_RAPIDAPI_HOST=$JUDGE0_RAPIDAPI_HOST
BE_BASE_URL=${BE_BASE_URL:-http://vibecode-app:8080}
SPRING_CALLBACK_URL=${SPRING_CALLBACK_URL:-http://vibecode-app:8080/api/ai/callback}
USE_REDIS_QUEUE=true
GOOGLE_SERVICE_ACCOUNT_JSON_PATH=secrets/p-project-vertex_ex.json
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,7 @@ docker-compose down
| `JUDGE0_API_URL` | Judge0 API URL | `http://localhost:2358` | ✅ |
| `JUDGE0_API_KEY` | Judge0 API 키 (RapidAPI) | - | ⚠️ (RapidAPI 사용 시) |
| `JUDGE0_USE_RAPIDAPI` | RapidAPI 사용 여부 | `false` | ❌ |
| `BE_BASE_URL` | Spring Boot BE 기본 URL (analysis/result 콜백 URL 조립 기준) | `http://localhost:8080` | ✅ |
| `SPRING_CALLBACK_URL` | Spring 콜백 URL | `http://localhost:8080/api/ai/callback` | ✅ |
| `DEBATE_LOG_TO_REDIS` | N8 토론 로그를 Redis에 저장 | `true` | ❌ |

Expand Down
1 change: 1 addition & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ services:
- REDIS_HOST=${REDIS_HOST:-vibecode-redis}
- REDIS_PORT=${REDIS_PORT:-6379}
- GEMINI_API_KEY=${GEMINI_API_KEY}
- BE_BASE_URL=${BE_BASE_URL:-http://vibecode-app:8080}
- SPRING_CALLBACK_URL=${SPRING_CALLBACK_URL}
- JUDGE0_API_URL=${JUDGE0_API_URL}
- JUDGE0_API_KEY=${JUDGE0_API_KEY}
Expand Down
2 changes: 1 addition & 1 deletion env.prod.example
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ JUDGE0_USE_RAPIDAPI=true
JUDGE0_RAPIDAPI_HOST=judge0-ce.p.rapidapi.com

# Spring Boot 콜백 설정
BE_BASE_URL=http://vibecode-app:8080
SPRING_CALLBACK_URL=https://your-spring-backend.com/api/ai/callback
SPRING_API_KEY=your_spring_api_key

Expand All @@ -69,4 +70,3 @@ USE_REDIS_QUEUE=true
# LangGraph 체크포인트 설정
CHECKPOINT_TTL_SECONDS=3600


Loading