fix: Docker deployment - fix Dockerfiles, registry.py f-strings, Gateway app structure

This commit is contained in:
Ivan Tytar
2025-11-15 15:59:42 +01:00
parent ff01021f96
commit df0055bb03
8 changed files with 90 additions and 49 deletions

View File

@@ -1,5 +1,3 @@
version: '3.9'
services:
# DAGI Router - Core routing service
router:
@@ -72,7 +70,7 @@ services:
timeout: 10s
retries: 3
# Bot Gateway
# Bot Gateway (with DAARWIZZ)
gateway:
build:
context: ./gateway-bot
@@ -84,6 +82,8 @@ services:
- ROUTER_URL=http://router:9102
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN:-}
- DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN:-}
- DAARWIZZ_NAME=DAARWIZZ
- DAARWIZZ_PROMPT_PATH=/app/gateway-bot/daarwizz_prompt.txt
volumes:
- ./logs:/app/logs
depends_on:
@@ -119,25 +119,7 @@ services:
timeout: 10s
retries: 3
# Ollama (Local LLM)
# Note: This requires ollama to be installed on host or use ollama/ollama image
# Uncomment if you want to run Ollama in Docker
# ollama:
# image: ollama/ollama:latest
# container_name: dagi-ollama
# ports:
# - "11434:11434"
# volumes:
# - ollama-data:/root/.ollama
# networks:
# - dagi-network
# restart: unless-stopped
networks:
dagi-network:
driver: bridge
name: dagi-network
volumes:
ollama-data:
name: dagi-ollama-data