배포: .9 GPU 호스트용 compose(docker-compose.ai.yml), 문서 06 §12.1·11 §8·마피아 §13

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-11 03:38:05 +09:00
parent 13974181e7
commit c7dab689ca
4 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# GPU host (.9, RTX 5050): the computers talk and play like people with the local model (docs/06 §12.1, docs/11 §8).
# Ollama runs on this host as a system service on the GPU (OLLAMA_HOST=0.0.0.0:11434, model gemma3:4b);
# the app container reaches it through the host gateway. Use together with the proxy file:
# cd deploy && docker --context default compose -f docker-compose.proxy.yml -f docker-compose.ai.yml up -d --build
services:
app:
environment:
AI_URL: http://host.docker.internal:11434
AI_MODEL: gemma3:4b
extra_hosts:
- "host.docker.internal:host-gateway"
# .9 also runs the chat bots and desktop services: keep the site small.
mem_limit: 1g
cpus: 2