- Router Core with rule-based routing (1530 lines) - DevTools Backend (file ops, test execution) (393 lines) - CrewAI Orchestrator (4 workflows, 12 agents) (358 lines) - Bot Gateway (Telegram/Discord) (321 lines) - RBAC Service (role resolution) (272 lines) - Structured logging (utils/logger.py) - Docker deployment (docker-compose.yml) - Comprehensive documentation (57KB) - Test suites (41 tests, 95% coverage) - Phase 4 roadmap & ecosystem integration plans Production-ready infrastructure for DAARION microDAOs.
29 lines
676 B
Docker
29 lines
676 B
Docker
# DevTools Backend Dockerfile
|
|
FROM python:3.11-slim
|
|
|
|
LABEL maintainer="DAARION.city Team"
|
|
LABEL description="DevTools Backend - Development tools service"
|
|
LABEL version="0.2.0"
|
|
|
|
WORKDIR /app
|
|
|
|
# Install system dependencies
|
|
RUN apt-get update && apt-get install -y \
|
|
curl \
|
|
git \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Copy requirements (from parent)
|
|
COPY ../requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Copy application code
|
|
COPY . .
|
|
|
|
EXPOSE 8008
|
|
|
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
|
CMD curl -f http://localhost:8008/health || exit 1
|
|
|
|
CMD ["python", "main.py", "--host", "0.0.0.0", "--port", "8008"]
|