Files
glpi-ai-agent/compose_local.yml
jbergner 8ac1f97174
All checks were successful
release-tag / release-image (push) Successful in 1m30s
deployment-update
2026-07-28 05:42:22 +02:00

44 lines
917 B
YAML

services:
agent-data-init:
image: alpine:3.22
user: 0:0
command:
- sh
- -c
- |
mkdir -p /app/data
chown -R 65532:65532 /app/data
volumes:
- agent-data:/app/data
restart: no
agent:
image: git.send.nrw/sendnrw/glpi-ai-agent:latest
restart: unless-stopped
env_file: .env
ports:
- 7080:7080
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: null
ollama-data: null
networks: {}