Skip to content

chore: AWS 배포 산출물 완비 + Docker 빌드 CI - #13

Merged
ysb2152 merged 1 commit into
mainfrom
chore/deploy-artifacts
Aug 27, 2026
Merged

ysb2152 merged 1 commit into
mainfrom
chore/deploy-artifacts

Conversation

@ysb2152

@ysb2152 ysb2152 commented Aug 27, 2026

Copy link
Copy Markdown
Owner

EC2에 올려 실행만 하면 기동되도록 배포 산출물을 완비. 실제 라이브 데모는 Cloudflare Tunnel(비용 0)로 운영.

추가된 산출물

  • backend/Dockerfile (+.dockerignore) — FastAPI 이미지(python:3.11-slim, requirements 설치, uvicorn).
  • docker-compose.yml — ollama + model-loader(ollama create 자동) + backend 3서비스 오케스트레이션.
  • backend/finetune/Modelfile — 로컬 Ollama에서 복구한 raw passthrough 정의(배포 시 모델 재현).
  • deploy/nginx-wtgmate.conf — 정적 프론트 서빙 + /api 프록시(certbot HTTPS).
  • .github/workflows/docker-build.yml — 백엔드 이미지 실제 빌드 + docker compose config 검증(CI).
  • .gitattributes — Linux 실행 파일 LF 고정.
  • DEPLOY.md — 산출물 기반 구체 런북(EC2에서 docker compose up -d --build → nginx → certbot).

검증

  • docker-compose.yml YAML 파싱·구조 확인, requirements 설치·uvicorn 기동은 기존 검증됨.
  • Docker 이미지 실제 빌드는 이 PR의 CI(docker-build)가 GitHub 러너에서 수행.

🤖 Generated with Claude Code

EC2에 올려 실행만 하면 기동되도록 배포 산출물을 갖춘다.
- backend/Dockerfile(+.dockerignore): FastAPI 이미지(python:3.11-slim).
- docker-compose.yml: ollama + model-loader(ollama create 자동) + backend 3서비스.
- backend/finetune/Modelfile: 로컬 Ollama에서 복구한 raw passthrough 정의(모델 재현용).
- deploy/nginx-wtgmate.conf: 정적 프론트 + /api 프록시(certbot HTTPS용).
- .github/workflows/docker-build.yml: 백엔드 이미지 실제 빌드 + compose config 검증(CI 근거).
- .gitattributes: Linux 실행 파일 LF 고정(CRLF로 sh/Dockerfile 깨짐 방지).
- DEPLOY.md: 산출물 기반 구체 런북 + 실제 데모는 Cloudflare Tunnel로 운영함을 명시.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ysb2152
ysb2152 merged commit 2db1022 into main Aug 27, 2026
1 check passed
@ysb2152
ysb2152 deleted the chore/deploy-artifacts branch August 27, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant