# FastAPI-Celery-demo **Repository Path**: le_yang/fast-api-celery-demo ## Basic Information - **Project Name**: FastAPI-Celery-demo - **Description**: FastAPI最小化实践celery - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-27 - **Last Updated**: 2023-12-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README docker-compose up --build 确保您已经安装了Docker和Docker Compose。当您运行上述命令时,它将创建三个服务: web: FastAPI应用服务 worker: Celery工作器服务 redis: Redis服务,用作消息代理和结果后端 您可以通过向http://localhost/tasks发送POST请求来创建任务, 并通过http://localhost/tasks/{task_id}来检查任务的状态。