Spaces:
Runtime error
Runtime error
Download docker-compose.yml from diptaraj/rag-pipeline-api: direct link, hf CLI and curl.
- Browser
- Download file 676 Bytes
-
https://huggingface.co/spaces/diptaraj/rag-pipeline-api/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/diptaraj/rag-pipeline-api/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/diptaraj/rag-pipeline-api/resolve/main/docker-compose.yml
676 Bytes
| version: "3.9" | |
| services: | |
| web: | |
| build: . | |
| ports: | |
| - "8000:8000" | |
| volumes: | |
| - ./app:/app/app | |
| - ./uploads:/app/uploads | |
| - ./data:/app/data | |
| - ./tests:/app/tests | |
| env_file: | |
| - .env | |
| environment: | |
| - GOOGLE_GEMINI_API_KEY | |
| - OPENAI_API_KEY | |
| - COHERE_API_KEY | |
| - DEBUG | |
| command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload | |
| test: | |
| build: . | |
| volumes: | |
| - ./app:/app/app | |
| - ./tests:/app/tests | |
| env_file: | |
| - .env | |
| environment: | |
| - GOOGLE_GEMINI_API_KEY | |
| - OPENAI_API_KEY | |
| - COHERE_API_KEY | |
| - DEBUG | |
| command: pytest tests/ -v | |
| profiles: | |
| - test | |