Infrastructure-as-code for a self-hosted server running containerized services across storage, routing, analytics, home automation, AI and CI/CD — orchestrated with Docker Compose behind an Nginx reverse proxy.
- CPU: Intel Xeon E5-2680v4
- RAM: 32GB DDR4
- Storage: RAID 10 SSD NVMe array
- Network: 1 Gbps SFP Ethernet
- OS: Linux (Docker-based containerization)
| Stack | Services | Networks |
|---|---|---|
compose.storage.yaml |
PostgreSQL 17.4, Redis 7.4.3, MinIO, RabbitMQ 4.2.2, RabbitScout, pgvector 0.8.6 (LightRAG DB) | storage-network, cmnw |
compose.routing.yaml |
Nginx 1.27, Nginx-UI, Nginx Prometheus Exporter | edge, cmnw |
compose.analytics.yaml |
Prometheus, Promtail, Loki 3.6.3, Grafana, Node Exporter, Postgres Exporter | loki, cmnw |
compose.home.yaml |
Home Assistant, Mosquitto, Node-RED, Zigbee2MQTT, Z-Wave JS UI, InfluxDB 2 | host (HA), traefik (ext) |
compose.git.yaml |
5× GitHub Actions runners, docker-prune janitor | runner-network |
compose.gitlab.yaml |
GitLab CE 19.0.1 | cmnw |
compose.oracle.yaml |
6× vpn-oracle AdGuard VPN gateways + oracle / -1d / -2bd / -3s / -4qr / -5se |
oraculum, cmnw |
compose.oraculum.yaml |
indexator, oracular, archivum, gateway, LightRAG | oraculum |
compose.ai.yaml |
GitHub MCP, Grafana MCP, Open WebUI | cmnw |
compose.control.yaml |
Portainer CE | traefik (ext) |
compose.ai-local.yaml |
Ollama + Open WebUI (NVIDIA GPU passthrough) | ai-local-network |
- Multi-domain TLS routing — SSL-terminated reverse proxy serving
cmnw.me,cmnw.xyz,cmnw.ru - Full observability stack — Prometheus metrics, Grafana dashboards, Loki log aggregation with 30-day retention
- Smart home automation — Home Assistant hub with Zigbee and Z-Wave device meshes over MQTT
- Graph-RAG platform — LightRAG (private fork) with graph + vectors in PostgreSQL/pgvector, inference routed via OpenRouter
- Egress VPN fleet — six AdGuard VPN gateways powering the oracle farm
- CI/CD pipeline — self-hosted GitHub Actions runners building straight into the local Docker daemon
- Infrastructure as code — every service defined in version-controlled Docker Compose files, deployed via Portainer
core/
├── compose.storage.yaml # PostgreSQL, Redis, MinIO, RabbitMQ, pgvector
├── compose.routing.yaml # Nginx, Nginx-UI, metrics exporter
├── compose.analytics.yaml # Prometheus, Grafana, Loki, Promtail
├── compose.home.yaml # Home Assistant, Node-RED, Zigbee2MQTT, Z-Wave, InfluxDB
├── compose.git.yaml # GitHub Actions runners (5×), docker-prune
├── compose.gitlab.yaml # GitLab CE
├── compose.oracle.yaml # AdGuard VPN gateways + oracle apps
├── compose.oraculum.yaml # indexator, oracular, archivum, gateway, LightRAG
├── compose.ai.yaml # GitHub MCP, Grafana MCP, Open WebUI
├── compose.control.yaml # Portainer
├── compose.ai-local.yaml # Ollama + Open WebUI (GPU passthrough)
├── compose.example.yaml # template / documentation
├── nginx/ # reference nginx configs
├── prometheus/ # reference prometheus config
├── loki/ # reference loki config
├── mosquitto/ # mosquitto config
├── icons/ # README icon assets
└── images/ # README screenshots
Maintained by: alexzedim · operational conventions in AGENTS.md



