Spaces:
Configuration error
Configuration error
Download docker-compose.yml from anu-122006/hackrx-project: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/spaces/anu-122006/hackrx-project/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/anu-122006/hackrx-project/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/anu-122006/hackrx-project/resolve/main/docker-compose.yml
1.03 kB
| # ============================================================================ | |
| version: '3.8' | |
| services: | |
| app: | |
| build: . | |
| ports: | |
| - "8000:8000" | |
| environment: | |
| - OPENAI_API_KEY=${OPENAI_API_KEY} | |
| - PINECONE_API_KEY=${PINECONE_API_KEY} | |
| - PINECONE_ENVIRONMENT=${PINECONE_ENVIRONMENT} | |
| - PINECONE_INDEX_NAME=${PINECONE_INDEX_NAME} | |
| - REDIS_URL=redis://redis:6379 | |
| - DATABASE_URL=postgresql://hackrx:hackrx123@postgres:5432/hackrx_db | |
| depends_on: | |
| - redis | |
| - postgres | |
| volumes: | |
| - ./logs:/app/logs | |
| redis: | |
| image: redis:7-alpine | |
| ports: | |
| - "6379:6379" | |
| volumes: | |
| - redis_data:/data | |
| postgres: | |
| image: postgres:15-alpine | |
| environment: | |
| - POSTGRES_USER=hackrx | |
| - POSTGRES_PASSWORD=hackrx123 | |
| - POSTGRES_DB=hackrx_db | |
| ports: | |
| - "5432:5432" | |
| volumes: | |
| - postgres_data:/var/lib/postgresql/data | |
| volumes: | |
| redis_data: | |
| postgres_data: | |
| # ============================================================================ | |