Clone
1
Architecture.md
iN0mad edited this page 2026-01-03 08:25:13 +00:00
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.

🏗️ Architecture Overview

Наша інфраструктура базується на Docker Compose і використовує Caddy як Reverse Proxy для SSL/TLS.

📦 Stack Components

  • Core: Docker, Portainer, Watchtower (auto-updates).
  • Gateway: Caddy (Server C).
  • DevOps: Gitea (Code), n8n (Automation).
  • AI Memory: Neo4j (Graph DB), Graphiti (Memory API), Redis (Cache).
  • Data: Postgres (Relational DB), Metabase (Analytics).
  • Monitoring: Dozzle (Logs), Adminer (DB Admin).

🔌 Ports Configuration (Server Maps)

Service Internal Port Host Port External Access
Caddy 80/443 80/443 🌍 Global (HTTPS)
Gitea 3000 3002 🌍 git.smagentsconsulting.uk
n8n 5678 N/A 🌍 n8n.smagentsconsulting.uk
Metabase 3000 3001 🛡️ SSH Tunnel / Localhost
Neo4j 7474/7687 7474/7687 🛡️ Localhost Only
Graphiti 8000 8000 🛡️ Localhost Only
Adminer 8080 8080 🛡️ Localhost Only
Dozzle 8080 8888 🛡️ Localhost Only

🧠 MCP Schema (Antigravity)

Antigravity агент підключається до системи через MCP (Model Context Protocol):

  1. Postgres MCP: Прямий доступ до бази даних Gitea для читання Issues/Milestones.
  2. Filesystem MCP: Доступ до конфігурацій (docker-compose.yml, .env).
  3. Brave/Browser MCP: Доступ до веб-інтерфейсів (n8n, Neo4j Browser) для дебагу.