Skip to content
프로젝트

소개

My Homelab setup

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Homelab Setup

My servers setup at home

Hardware

I run two Raspberry Pi 4Bs as servers currently.

NAS/media server

falcon

  • ⚡ Raspberry Pi 4B (8GB model)
    • Ubuntu Server 22.04 LTS
    • Overclocked to 2.0GHz
  • 🔌 Powered USB 3.0 hub
    • TP-Link TL-UH700
  • 📼 Primary storage
    • Sandisk Ultra microSD card (8GB, boot)
    • Crucial BX500 SSD (480GB, root FS)
  • 📀 Secondary storage
    • Crucial BX500 SSD (480GB)
    • Seagate Barracuda 2.5" 1TB
    • Seagate Expansion 4TB
    • WD My Passport 1TB
    • Sony HD-B1 1TB
  • 🌐 Gigabit ethernet
    • TP-Link TL-SG1008D
  • 🔊 3.5mm out...
    • Fenda E200 Plus

Main server that runs the majority of my self-hosted apps, runs the media stack, functions as a NAS and audio server using the likes of librespot, shairport-sync, and mpv.

Runs in Docker containers:

🔗 Docker Compose

  • 💡 Home Assistant
  • �📽 Plex Media Server
  • 📺 Servarr media stack
  • 🧲 qBittorrent

DNS/proxy server

always-on

  • ⚡ Raspberry Pi 4 (4GB model)
    • Ubuntu Server 22.04 LTS
  • 📼 32GB microSD card
  • 🌐 Gigabit ethernet

DNS/DHCP server, monitors network latency and speed using tools like Smokeping and Speedtest-tracker, handles the Traefik network proxy over Tailscale. Also runs Portainer, which is used to monitor Docker hosts across all machines, cloud or local.

Since this server runs on a SD card, log2ram is used to store system logs in memory to reduce writes to disk.

Runs in Docker containers:

🔗 Docker Compose

Cloud VMs

  • Oracle Cloud
  • Google Cloud Platform (e2-micro)
  • Digital Ocean Droplets

🔗 Docker Compose


DNS

AdGuard Home blocks ads and trackers, manages DNS and DHCP in the local network.

For DNS resolution, I use Cloudflare Zero Trust over DoH3, which is similar to 1.1.1.1 but supports EDNS Client Subnet, which enables devices to connect to servers located closer to me and thus makes stuff load faster.

AdGuard has optimistic caching enabled which accelerates web page loading due to low latency lookups.

Cloudflare Gateway DNS

Unified access

I use Tailscale to access devices and services. Cloud VMs have their storages securely mounted locally over NFS or FTP.

Some apps are hosted in cloud to balance system resources. I use Traefik to access them as if they're hosted locally, using the format http://<app>.<machine>.nt.

This requires Traefik and containers on all VMs, with Traefik routers created locally (for each VM) that proxy requests to remote Traefik instances.

File management

Files are stored both in the cloud and locally.

Media storage

mergerfs is used to pool together local drive mounts so they appear as a single mount that can be bind-mounted to Docker containers.

관련 프로젝트 살펴보기

불러오는 중…