feat: Add base project structure with API and web components

This commit is contained in:
Ke Sun
2025-12-02 20:28:01 +08:00
parent f3de6d6cc9
commit c1adc62ec6
817 changed files with 111226 additions and 106 deletions

22
api/docker-compose.yml Normal file
View File

@@ -0,0 +1,22 @@
version: '3.8'
services:
api:
image: redbear-mem:latest
container_name: api
ports:
- "8000:8000"
env_file:
- .env
volumes:
- ./files:/files
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload --log-level debug
worker:
image: redbear-mem:latest
container_name: worker
env_file:
- .env
volumes:
- ./files:/files
command: celery -A app.celery_worker.celery_app worker --loglevel=info