Spaces:
Runtime error
Runtime error
File size: 1,114 Bytes
cc8bce3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | version: '3.8'
services:
# Ollama service for running LLaMA models
ollama:
image: ollama/ollama:latest
container_name: transcript-ollama
ports:
- "11434:11434"
volumes:
- ollama_data:/root/.ollama
environment:
- OLLAMA_HOST=0.0.0.0
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:11434/api/tags"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
networks:
- transcript-network
# Transcript Summarizer application
transcripter:
build:
context: ..
dockerfile: docker/Dockerfile
container_name: transcript-summarizer
environment:
- OLLAMA_BASE_URL=http://ollama:11434
env_file:
- ../.env
ports:
- 7861:7861
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7861/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 120s
networks:
- transcript-network
volumes:
ollama_data:
driver: local
networks:
transcript-network:
driver: bridge
|