Go to file
AGX 078b3258f9 메인서버와 워커 시스템 분리
- 메인서버: 클라이언트 요청 중계만 담당
- 워커 시스템: 별도 디렉토리로 분리 (~work/worker-system)
- Docker Compose에서 celery worker 제거
- 태스크 전송을 외부 워커로 변경 (worker.translate_task 등)
- 작업 상태 확인 API 추가 (/task_status/{task_id})
- 워커 자동화 스크립트 및 Docker 설정 포함
2025-07-17 10:31:39 +09:00
app 메인서버와 워커 시스템 분리 2025-07-17 10:31:39 +09:00
~/work/worker-system 메인서버와 워커 시스템 분리 2025-07-17 10:31:39 +09:00
.gitignore first commit 2025-07-17 10:16:31 +09:00
Dockerfile first commit 2025-07-17 10:16:31 +09:00
README.md first commit 2025-07-17 10:16:31 +09:00
docker-compose first commit 2025-07-17 10:16:31 +09:00
docker-compose.yml 메인서버와 워커 시스템 분리 2025-07-17 10:31:39 +09:00
lib64 first commit 2025-07-17 10:16:31 +09:00
requirements.txt first commit 2025-07-17 10:16:31 +09:00
worker.py 메인서버와 워커 시스템 분리 2025-07-17 10:31:39 +09:00

README.md

FastAPI + Celery + Redis + Flower 메인서버 예시

실행 방법

docker-compose up --build
FastAPI: http://localhost:7860

Flower: http://localhost:5555

API 예시
POST /process (파일 업로드)

GET /result/{task_id} (결과 확인)


---