Files
glpi-ai-agent/docker-compose.yml
jbergner 9b3227348d
All checks were successful
release-tag / release-image (push) Successful in 1m33s
init
2026-07-27 17:32:35 +02:00

32 lines
632 B
YAML

services:
agent:
build: .
restart: unless-stopped
env_file: .env
ports:
- "7080:8080"
volumes:
- agent-data:/app/data
- ./knowledge:/app/knowledge:ro
depends_on:
ollama:
condition: service_started
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
read_only: true
tmpfs:
- /tmp:size=64m,mode=1777
ollama:
image: ollama/ollama:latest
restart: unless-stopped
volumes:
- ollama-data:/root/.ollama
# GPU users can add the appropriate device/runtime stanza for their platform.
volumes:
agent-data:
ollama-data: