# mrp3lele/equipo-tas-01 architecture

> Architecture diagram of the GitHub repository mrp3lele/equipo-tas-01, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mrp3lele/equipo-tas-01
- Repository: https://github.com/mrp3lele/equipo-tas-01

## Overview

This repository documents the deployed WordPress/WooCommerce site and its supporting infrastructure, rather than implementing the services itself. The main user journey is DNS resolution, HTTPS load balancing to either web backend, then access to the shared database and uploaded files. Separate documented capabilities include monitoring and the VM configuration/verification record. Relationships below come from the top-level README; detailed service behavior and configuration were not sampled, so the graph does not infer connections beyond the documented topology.

Main entry points: [`docs/vmfabian/README.md`](https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmfabian/README.md) (HAProxy HTTPS), [`docs/vmmaty/README.md`](https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmmaty/README.md) (VMMaty web), [`docs/vmmaty2/README.md`](https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmmaty2/README.md) (VMMaty2 web), [`docs/vmomar/README.md`](https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmomar/README.md) (WordPress MariaDB)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Traffic entry"]
  node_dns["BIND DNS<br/>[README.md]"]
  node_proxy["HAProxy HTTPS<br/>[README.md]"]
end

subgraph group_web["Web backends"]
  node_backend1["VMMaty web<br/>[README.md]"]
  node_backend2["VMMaty2 web<br/>[README.md]"]
end

subgraph group_state["Shared state"]
  node_db[("WordPress MariaDB<br/>[README.md]")]
  node_uploads[("NFS uploads<br/>[README.md]")]
end

subgraph group_observability["Monitoring"]
  node_prometheus["Prometheus<br/>[README.md]"]
  node_grafana["Grafana<br/>[README.md]"]
end

node_visitor(("Site visitor"))
node_monitoruser(("Monitoring user"))

node_visitor -->|"queries name"| node_dns
node_dns -->|"resolves to"| node_proxy
node_proxy -->|"balances HTTPS"| node_backend1
node_proxy -->|"balances HTTPS"| node_backend2
node_backend1 -->|"queries database"| node_db
node_backend2 -->|"queries database"| node_db
node_backend1 -->|"reads uploads"| node_uploads
node_backend2 -->|"reads uploads"| node_uploads
node_monitoruser -->|"opens subdomain"| node_prometheus
node_monitoruser -->|"opens subdomain"| node_grafana

click node_dns "https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmfabian/README.md"
click node_proxy "https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmfabian/README.md"
click node_backend1 "https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmmaty/README.md"
click node_backend2 "https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmmaty2/README.md"
click node_db "https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmomar/README.md"
click node_uploads "https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmnfs/README.md"
click node_prometheus "https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmfabian/README.md"
click node_grafana "https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmfabian/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_dns,node_proxy,node_monitoruser toneBlue
class node_backend1,node_backend2 toneAmber
class node_db,node_uploads toneMint
class node_prometheus,node_grafana toneRose
class node_visitor toneIndigo
```

## Components

### Traffic entry

- [BIND DNS](https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmfabian/README.md): `docs/vmfabian/README.md`
- [HAProxy HTTPS](https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmfabian/README.md): `docs/vmfabian/README.md`

### Web backends

- [VMMaty web](https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmmaty/README.md): `docs/vmmaty/README.md`
- [VMMaty2 web](https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmmaty2/README.md): `docs/vmmaty2/README.md`

### Shared state

- [WordPress MariaDB](https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmomar/README.md): `docs/vmomar/README.md`
- [NFS uploads](https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmnfs/README.md): `docs/vmnfs/README.md`

### Monitoring

- [Prometheus](https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmfabian/README.md): `docs/vmfabian/README.md`
- [Grafana](https://github.com/mrp3lele/equipo-tas-01/blob/main/docs/vmfabian/README.md): `docs/vmfabian/README.md`

### Other components

- **Site visitor**
- **Monitoring user**

## Connections

- Site visitor → BIND DNS: queries name (evidence: `README.md`)
- BIND DNS → HAProxy HTTPS: resolves to (evidence: `README.md`)
- HAProxy HTTPS → VMMaty web: balances HTTPS (evidence: `README.md`)
- HAProxy HTTPS → VMMaty2 web: balances HTTPS (evidence: `README.md`)
- VMMaty web → WordPress MariaDB: queries database (evidence: `README.md`)
- VMMaty2 web → WordPress MariaDB: queries database (evidence: `README.md`)
- VMMaty web → NFS uploads: reads uploads (evidence: `README.md`)
- VMMaty2 web → NFS uploads: reads uploads (evidence: `README.md`)
- Monitoring user → Prometheus: opens subdomain (evidence: `README.md`)
- Monitoring user → Grafana: opens subdomain (evidence: `README.md`)
