Homelab aims to provide a turnkey solution for self-hosting essential infrastructure services for your home network.
- Clone the repository and
cdinto it
git clone https://github.com/skmpf/homelab
cd homelab- Copy the
.envtemplate
cp .env.template .env-
Fill in the required values in the
.envfile:DOCKERCONFDIR: Directory for container configuration filesDOCKERSTORAGEDIR: Directory for storage (if needed)PUID: Your user's ID (runid -uto find it)TZ: Your timezone (e.g., Europe/Paris)TUNNEL_TOKEN: Cloudflare tunnel token
-
Start the stack
docker-compose up -d- Access the web interfaces for each service:
- AdGuardHome: http://localhost:3000
- Portainer: http://localhost:9000
- Uptime Kuma: http://localhost:3001
- AdGuardHome runs in host network mode for DNS server functionality
- ZeroTier also runs in host network mode and requires NET_ADMIN capabilities
- Cloudflared requires a tunnel token from Cloudflare
- Watchtower is configured to automatically update all containers at 4 AM daily
- Make sure to create the directories specified for
DOCKERCONFDIRbefore starting the services - All services use the non-root PUID for better security
A network-wide software for blocking ads and tracking, enhancing privacy and security on your home network. Runs as your own private DNS server. More information
A tunneling service by Cloudflare that securely exposes local servers to the internet without needing a public IP or port forwarding. Great for remote access to your services. More information
A web-based interface for managing Docker environments, making it easier to deploy, manage, and troubleshoot containerized applications. Perfect for monitoring and controlling all your Docker containers. More information
A self-hosted monitoring tool that keeps track of the uptime status of your services and websites. Features include status pages, notifications, and detailed metrics. More information
A web dashboard that monitors your Docker containers for available image updates and notifies you when new versions are released. More information
A virtual network service that creates secure, encrypted networks between devices, regardless of location or network configuration. Allows for easy remote access to your home network. More information