Infrastructure Homelab
Mise en place d'une infrastructure homelab avec NAS Ugreen, Docker, Syncthing et services auto-hébergés.
DockerLinuxSyncthingSelf-hosted
15 décembre 2024
Le projet
J'ai mis en place une infrastructure homelab complète basée sur un NAS Ugreen, avec Docker pour l'orchestration de conteneurs et Syncthing pour la synchronisation de fichiers.
Architecture
L'infrastructure repose sur plusieurs composants clés :
- NAS Ugreen : stockage principal et serveur Docker
- Syncthing : synchronisation bidirectionnelle entre Mac et NAS
- Docker Compose : orchestration des services
Services déployés
| Service | Description | Port |
|---|---|---|
| Syncthing | Synchronisation de fichiers | 8384 |
| Portainer | Gestion Docker | 9443 |
| Nginx Proxy | Reverse proxy | 80/443 |
Configuration Docker
version: "3.8"
services:
syncthing:
image: syncthing/syncthing
volumes:
- /data/sync:/var/syncthing
ports:
- "8384:8384"
- "22000:22000"
restart: unless-stoppedPoints clés
- Haute disponibilité : les services redémarrent automatiquement
- Sécurité : accès SSH uniquement, pas d'exposition directe
- Backup : synchronisation continue avec Syncthing