Reorganize repo: one folder per application under apps/.

Move docker/ and configs/ into apps/<name>/ with config/ subfolders.
Proxmox split into hosts/pve and hosts/dell-proxmox. Nginx under
infrastructure/. Update sync script, RESTORE.md, and per-app READMEs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
mo
2026-05-17 13:23:38 +02:00
parent 290da02936
commit 04162745e9
684 changed files with 605 additions and 169 deletions
+45 -40
View File
@@ -1,53 +1,58 @@
# Homelab Infrastructure Configuration
Docker compose, applicatie-configs, nginx en deploy-scripts voor Synology NAS (`192.168.1.211`).
Private Gitea-repo met **alle configs per applicatie** voor Synology NAS (`192.168.1.211`) en Proxmox hosts.
**Snel herstellen:** zie [RESTORE.md](RESTORE.md)
**Snel herstellen:** [RESTORE.md](RESTORE.md)
**App-overzicht:** [apps/README.md](apps/README.md)
## Structuur
```
apps/ # Één map per applicatie
postgres/
docker-compose.yml
.env
adguard/
docker-compose.yml
config/AdGuardHome.yaml
proxmox/
hosts/
pve/ # 192.168.1.216
dell-proxmox/ # 192.168.1.56
sonarr/ radarr/ ... # config/ per app
infrastructure/
nginx/ # Reverse proxy
scripts/
sync-from-nas.sh
.env # Globale secrets (private repo)
```
## Repos op Gitea
| Repo | Inhoud |
|------|--------|
| [homelab-configs](http://192.168.1.211:3000/mo/homelab-configs) | Dit repo — infra, compose, configs |
| [homelab-command](http://192.168.1.211:3000/mo/homelab-command) | Dashboard-app + Grafana-build + mesh |
| [ha-voice-control-mcp](http://192.168.1.211:3000/mo/ha-voice-control-mcp) | Home Assistant voice MCP |
## Structuur
```
docker/
postgres/ # PostgreSQL homelab (5433)
postgres-web/ # pgAdmin (5434)
gitea/ # Git server (3000)
adguard/ # DNS/filter (host network)
duckdns/ # Dynamische DNS
homarr/ # Dashboard (4755)
neo4j/ # Graph DB
portainer/ # Docker UI (9000)
remotely/ # Remote support (8080)
excalidraw/ # Whiteboard (3765)
guacamole/ # Remote desktop (8348)
wazuh/ # SIEM
ha-voice-control/ # HA MCP (8765)
monitoring/ # Prometheus + refs naar homelab-command
homelab-command/ # README → aparte repo
configs/
adguard/ # AdGuardHome.yaml
homarr/ # Dashboard JSON
home-assistant/
prowlarr/ sonarr/ radarr/ qbittorrent/ sabnzbd/
proxmox/
nginx/
scripts/
sync-from-nas.sh # NAS → git vóór commit
```
| [homelab-configs](http://192.168.1.211:3000/mo/homelab-configs) | Dit repo |
| [homelab-command](http://192.168.1.211:3000/mo/homelab-command) | Dashboard + Grafana-build + mesh |
| [ha-voice-control-mcp](http://192.168.1.211:3000/mo/ha-voice-control-mcp) | HA voice MCP |
## Workflow
1. Wijziging op NAS → `sh scripts/sync-from-nas.sh`
2. `git add -A && git commit && git push`
3. Bij disaster → [RESTORE.md](RESTORE.md)
```bash
# 1. Sync live configs van NAS
sh scripts/sync-from-nas.sh
## Poorten
# 2. Commit
cd /volume1/docker/homelab-configs
git add -A && git commit -m "sync configs" && git push
Zie RESTORE.md tabel.
# 3. Service starten
cd apps/postgres && docker compose up -d
```
## Proxmox backup
```bash
scp -r root@192.168.1.216:/etc/pve/* apps/proxmox/hosts/pve/
scp -r root@192.168.1.56:/etc/pve/* apps/proxmox/hosts/dell-proxmox/
git add apps/proxmox && git commit -m "proxmox backup"
```