Spaces:
No application file
No application file
Download Core/docker-compose.prod.yml from CastroForGeorgia/Mantle: direct link, hf CLI and curl.
- Browser
- Download file 778 Bytes
-
https://huggingface.co/spaces/CastroForGeorgia/Mantle/resolve/main/Core/docker-compose.prod.yml
- Command line
-
hf download hf://spaces/CastroForGeorgia/Mantle/Core/docker-compose.prod.yml
-
curl -L -o docker-compose.prod.yml https://huggingface.co/spaces/CastroForGeorgia/Mantle/resolve/main/Core/docker-compose.prod.yml
778 Bytes
| services: | |
| # First Ollama container (mistral) | |
| ollama_mistral: | |
| build: | |
| context: . | |
| dockerfile: docker/ollama_mistral/Dockerfile | |
| container_name: ollama_mistral | |
| ports: | |
| - "11434:11434" # Expose Ollama on port 11434 for Mistral | |
| volumes: | |
| - ollama_mistral_models:/root/.ollama | |
| environment: | |
| - OLLAMA_KEEP_ALIVE=-1 | |
| - OLLAMA_NUM_PARALLEL=1 | |
| # Chainlit-based app | |
| app: | |
| build: | |
| context: . | |
| dockerfile: docker/chainlit_app/Dockerfile | |
| container_name: chainlit_app | |
| ports: | |
| - "7860:7860" | |
| environment: | |
| - HOST=0.0.0.0 | |
| - LISTEN_PORT=7860 | |
| - OLLAMA_MISTRAL_URL=http://ollama_mistral:11434 | |
| depends_on: | |
| - ollama_mistral | |
| volumes: | |
| ollama_mistral_models: | |
| ollama_openorca_models: | |