Spaces:
Running on Zero
Running on Zero
Download docker-compose.yml from aseemlais/ats-engine: direct link, hf CLI and curl.
- Browser
- Download file 1.3 kB
-
https://huggingface.co/spaces/aseemlais/ats-engine/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/aseemlais/ats-engine/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/aseemlais/ats-engine/resolve/main/docker-compose.yml
1.3 kB
| version: '3.8' | |
| services: | |
| qdrant: | |
| image: qdrant/qdrant:v1.8.4 | |
| container_name: ats_qdrant | |
| ports: | |
| - "6333:6333" | |
| - "6334:6334" | |
| volumes: | |
| - qdrant_data:/qdrant/storage | |
| restart: unless-stopped | |
| postgres: | |
| image: postgres:15-alpine | |
| container_name: ats_postgres | |
| environment: | |
| POSTGRES_USER: ats_user | |
| POSTGRES_PASSWORD: ats_password | |
| POSTGRES_DB: ats_db | |
| ports: | |
| - "5432:5432" | |
| volumes: | |
| - postgres_data:/var/lib/postgresql/data | |
| restart: unless-stopped | |
| backend: | |
| build: . | |
| container_name: ats_backend | |
| command: uvicorn app.main:app --host 0.0.0.0 --port 8000 | |
| ports: | |
| - "8000:8000" | |
| environment: | |
| - QDRANT_URL=http://qdrant:6333 | |
| - EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2 | |
| volumes: | |
| - ./data:/app/data | |
| depends_on: | |
| - qdrant | |
| - postgres | |
| restart: unless-stopped | |
| frontend: | |
| build: . | |
| container_name: ats_frontend | |
| command: streamlit run frontend/streamlit_app.py --server.port 8501 --server.address 0.0.0.0 | |
| ports: | |
| - "8501:8501" | |
| environment: | |
| - QDRANT_URL=http://qdrant:6333 | |
| volumes: | |
| - ./data:/app/data | |
| depends_on: | |
| - backend | |
| restart: unless-stopped | |
| volumes: | |
| qdrant_data: | |
| postgres_data: | |