compatibility with docker compose

This commit is contained in:
Ramnique Singh 2025-05-06 15:53:27 +05:30 committed by akhisud3195
parent 6413f6211e
commit f6cd3c0e38
2 changed files with 10 additions and 4 deletions

View file

@ -5,10 +5,14 @@ mkdir -p data/uploads
mkdir -p data/qdrant
mkdir -p data/mongo
# set the following environment variables
export USE_RAG=true
export USE_RAG_UPLOADS=true
# Start with the base command and profile flags
CMD="docker-compose"
# enable rag text and files workers
CMD="$CMD --profile setup_qdrant"
CMD="$CMD --profile qdrant"
CMD="$CMD --profile rag_text_worker"
CMD="$CMD --profile rag_files_worker"