Files
AdaConfig/docker-compose.yaml
ki.sagidullin fc2291bff5 AdaConfig
2026-04-12 13:21:04 +05:00

28 lines
1.2 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
version: '3.8'
services:
ada:
image: ghcr.io/luna-system/ada:latest
container_name: ada_assistant
environment:
# Указываем IP-адрес вашего сервера с Ollama и порт
- OLLAMA_HOST=http://192.168.212.100:11434
# Увеличиваем таймаут для ответов (важно для удалённого сервера)
- OLLAMA_TIMEOUT=120
# Дополнительная настройка для совместимости
- OLLAMA_ORIGINS=*
# --- Основные настройки модели ---
# Указываем Gemma 4 (тег :e4b для 26B MoE модели)
- OLLAMA_MODEL=gemma4:e4b
# Включаем новый "режим мышления" Gemma 4
- OLLAMA_OPTIONS={"num_ctx": 8192, "temperature": 0.7, "num_predict": 512, "reasoning_effort": "medium"}
ports:
# Пробрасываем порты. 8000 - для API Ada, 5000 - для веб-интерфейса
- "8000:8000"
- "5000:5000"
volumes:
# Создаём постоянное хранилище для памяти и настроек Ada
- /mnt/Cache/Ada:/app/data
restart: unless-stopped