diff --git a/Graph.md b/Graph.md new file mode 100644 index 0000000..060d481 --- /dev/null +++ b/Graph.md @@ -0,0 +1,118 @@ +# Граф зависимостей + +Кто от кого зависит. Падение нижнего узла ломает верхние. + +```mermaid +graph TD + subgraph core[Ядро] + vaultwarden["vaultwarden"] + authentik_security_redis_1["authentik-security-redis-1 🔴"] + matrix_synapse["matrix-synapse 🔴"] + mautrix_telegram["mautrix-telegram"] + livekit["livekit"] + element_web["element-web"] + authentik_security_server_1["authentik-security-server-1 🔴"] + matrix_coturn["matrix-coturn"] + authentik_security_worker_1["authentik-security-worker-1 🔴"] + authentik_security_postgresql_1["authentik-security-postgresql-1 🔴"] + end + subgraph home[Дом] + adguard["adguard"] + zigbee2mqtt["zigbee2mqtt"] + homeassistant["homeassistant 🔴"] + mosquitto["mosquitto 🔴"] + frigate["frigate"] + end + subgraph media[Медиа] + jellyfin["jellyfin"] + bazarr["bazarr"] + seerr["seerr"] + jackett["jackett"] + calibre_web["calibre-web"] + catalog["catalog"] + navidrome["navidrome"] + immich_database["immich_database"] + tautulli["tautulli"] + lidarr["lidarr"] + prowlarr["prowlarr"] + immich_machine_learning["immich_machine_learning"] + book_bot["book-bot"] + plex["plex"] + sonarr["sonarr"] + radarr["radarr"] + end + subgraph knowledge[Знания] + nextcloud["nextcloud"] + linkding["linkding"] + paperless["paperless"] + duplicati["duplicati"] + paperless_redis["paperless_redis"] + mealie["mealie"] + firefly["firefly"] + gitea["gitea 🔴"] + syncthing["syncthing"] + freshrss["freshrss"] + end + subgraph automation[Автоматизация] + n8n["n8n"] + openclaw["openclaw"] + tg_admin_bot["tg-admin-bot"] + dashy["dashy"] + node_red["node_red"] + end + subgraph obs[Наблюдаемость] + alertmanager["alertmanager"] + grafana["grafana"] + loki["loki"] + prometheus["prometheus 🔴"] + uptime_kuma["uptime_kuma"] + end + authentik_security_postgresql_1 --> authentik_security_postgresql_1 + authentik_security_postgresql_1 --> authentik_security_redis_1 + authentik_security_postgresql_1 --> authentik_security_server_1 + authentik_security_postgresql_1 --> authentik_security_worker_1 + authentik_security_postgresql_1 --> gitea + authentik_security_postgresql_1 --> immich_database + authentik_security_postgresql_1 --> immich_machine_learning + authentik_security_postgresql_1 --> matrix_synapse + authentik_security_postgresql_1 --> n8n + authentik_security_postgresql_1 --> nextcloud + authentik_security_postgresql_1 --> oauth2_proxy_n8n + authentik_security_postgresql_1 --> oauth2_proxy_paperless + authentik_security_postgresql_1 --> paperless + authentik_security_postgresql_1 --> paperless_redis + calibre_web --> book_bot + loki --> grafana + matrix_synapse --> book_bot + mosquitto --> frigate + mosquitto --> homeassistant + mosquitto --> zigbee2mqtt + prometheus --> alertmanager + prometheus --> grafana + prowlarr --> exportarr_radarr + prowlarr --> exportarr_sonarr + prowlarr --> lidarr + prowlarr --> oauth2_proxy_radarr + prowlarr --> oauth2_proxy_sonarr + prowlarr --> radarr + prowlarr --> sonarr + radarr --> bazarr + radarr --> exportarr_bazarr + radarr --> oauth2_proxy_bazarr + radarr --> seerr + sonarr --> bazarr + sonarr --> exportarr_bazarr + sonarr --> oauth2_proxy_bazarr + sonarr --> seerr + swarm_redis --> matrix_synapse + swarm_redis --> nextcloud + swarm_redis --> oauth2_proxy_paperless + swarm_redis --> paperless + swarm_redis --> paperless_redis +``` + +## Как читать + +- Стрелка A → B: B зависит от A. +- 🔴 — критичный сервис. +- Если узел упал, всё, что справа, перестанет работать.