확장자, 포트 수정

This commit is contained in:
2025-02-14 12:13:05 +09:00
parent 0d34c20882
commit c6a71467e8
6 changed files with 43 additions and 14 deletions

View File

@@ -2,26 +2,48 @@ version: "3.9"
services:
api:
build: .
command: uvicorn main:app --host 0.0.0.0 --port 8000
command: uvicorn main:app --host 0.0.0.0 --port 8010
volumes:
- ./workspace:/opt/workspace
- ./cache:/root/.cache/
ports:
- "8000:8000"
- "8010:8010"
depends_on:
- redis
networks:
- app_network
- rag_data_network
worker:
build: .
volumes:
- ./workspace:/opt/workspace
- ./cache:/root/.cache/
command: python3 worker.py
depends_on:
- redis
networks:
- app_network
- rag_data_network
redis:
volumes:
- ./workspace:/opt/workspace
- ./cache:/root/.cache/
image: redis:6
ports:
- "6379:6379"
networks:
- app_network
- rag_data_network
rq-dashboard:
volumes:
- ./workspace:/opt/workspace
- ./cache:/root/.cache/
image: eoranged/rq-dashboard
ports:
- "9181:9181"
environment:
- RQ_DASHBOARD_REDIS_URL=redis://redis:6379
depends_on:
- redis
networks:
- rag_data_network
networks:
app_network:
rag_data_network:
driver: bridge