Includes updates across gateway, router, node-worker, memory-service, aurora-service, swapper, sofiia-console UI and node2 infrastructure: - gateway-bot: Dockerfile, http_api.py, druid/aistalk prompts, doc_service - services/router: main.py, router-config.yml, fabric_metrics, memory_retrieval, offload_client, prompt_builder - services/node-worker: worker.py, main.py, config.py, fabric_metrics - services/memory-service: Dockerfile, database.py, main.py, requirements - services/aurora-service: main.py (+399), kling.py, quality_report.py - services/swapper-service: main.py, swapper_config_node2.yaml - services/sofiia-console: static/index.html (console UI update) - config: agent_registry, crewai_agents/teams, router_agents - ops/fabric_preflight.sh: updated preflight checks - router-config.yml, docker-compose.node2.yml: infra updates - docs: NODA1-AGENT-ARCHITECTURE, fabric_contract updated Made-with: Cursor
45 lines
1.1 KiB
Docker
45 lines
1.1 KiB
Docker
# Bot Gateway Dockerfile
|
|
FROM python:3.11-slim
|
|
|
|
LABEL maintainer="DAARION.city Team"
|
|
LABEL description="Bot Gateway - Telegram/Discord webhook handler with DAARWIZZ"
|
|
LABEL version="0.2.2"
|
|
|
|
ARG BUILD_SHA=dev
|
|
ARG BUILD_TIME=local
|
|
ENV BUILD_SHA=${BUILD_SHA}
|
|
ENV BUILD_TIME=${BUILD_TIME}
|
|
|
|
WORKDIR /app/gateway-bot
|
|
|
|
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install minimal dependencies
|
|
RUN pip install --no-cache-dir \
|
|
fastapi==0.109.0 \
|
|
uvicorn==0.27.0 \
|
|
httpx==0.26.0 \
|
|
pydantic==2.5.3 \
|
|
python-multipart==0.0.6 \
|
|
prometheus-client==0.22.1 \
|
|
PyPDF2>=3.0.0 \
|
|
crewai \
|
|
nats-py \
|
|
pandas \
|
|
openpyxl \
|
|
python-docx \
|
|
redis==5.0.1
|
|
|
|
# Copy gateway code and DAARWIZZ prompt
|
|
COPY . .
|
|
|
|
EXPOSE 9300
|
|
|
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
|
CMD curl -f http://localhost:9300/health || exit 1
|
|
|
|
ENV DAARWIZZ_NAME=DAARWIZZ
|
|
ENV DAARWIZZ_PROMPT_PATH=/app/gateway-bot/daarwizz_prompt.txt
|
|
|
|
CMD ["python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "9300"]
|