We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8e4529 commit a4d7abfCopy full SHA for a4d7abf
2 files changed
.github/workflows/deploy.yml
@@ -22,13 +22,13 @@ jobs:
22
key: ${{ secrets.GCP_SSH_KEY }}
23
script: |
24
cd codive-ai
25
- echo "HF_TOKEN=${{secrets.HF_TOKEN}}" > .env
26
27
# 최신 코드 받기
28
git pull origin main
+ echo "HF_TOKEN=${{secrets.HF_TOKEN}}" > .env
29
30
# Docker 다시 빌드 및 실행 (기존 컨테이너 교체)
31
- docker-compose up -d --build
+ docker compose up -d --build
32
33
# 불필요한 이미지 정리
34
docker image prune -f
nginx/nginx.conf
@@ -9,7 +9,7 @@ http {
9
10
location / {
11
# 'fastapi-app'은 docker-compose.yml의 서비스 이름과 같아야 합니다.
12
- proxy_pass http://codive-ai-server:8000;
+ proxy_pass http://fastapi-app:8000;
13
proxy_set_header Host $host;
14
proxy_set_header X-Real-IP $remote_addr;
15
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
0 commit comments