ai-skills-api/template/docker-compose.yml

28 lines
No EOL
654 B
YAML

version: '3.8'
services:
agent:
build: .
environment:
- API_URL=http://helm:8675
- API_KEY=${API_KEY:-}
volumes:
- ./logs:/app/logs
restart: unless-stopped
depends_on:
- skills-api
- ollama
# Only needed if you want compression to use Ollama
# The main skills-api already includes Ollama if you use the full-stack compose
ollama:
image: ollama/ollama:latest
volumes:
- ./ollama:/root/.ollama
restart: unless-stopped
command: serve
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:11434/api/tags"]
interval: 30s
timeout: 10s
retries: 3