Aller au contenu principal
AnthemionStéphane
Retour aux projets

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

ServiceDescriptionPort
SyncthingSynchronisation de fichiers8384
PortainerGestion Docker9443
Nginx ProxyReverse proxy80/443

Configuration Docker

version: "3.8"
services:
  syncthing:
    image: syncthing/syncthing
    volumes:
      - /data/sync:/var/syncthing
    ports:
      - "8384:8384"
      - "22000:22000"
    restart: unless-stopped

Points clés

  1. Haute disponibilité : les services redémarrent automatiquement
  2. Sécurité : accès SSH uniquement, pas d'exposition directe
  3. Backup : synchronisation continue avec Syncthing