Homelab Setup Guide - Proxmox / TrueNAS / Docker Services

107,455
0
Published 2022-09-28
!!!Resources, Timestamps, Extra Useful Notes and other thing I forgot to mention Below!!!
--------------------
In this mini-course I try to demystify the whole process of setting up a server at home, set it up as a NAS and run local services on it.
This course covers:
- Recommended hardware
- Installation Proxmox and TrueNAS
- Running services with Docker and Portainer Stacks (docker-compose)

This video is for entertainment purposes only.
Some aspects/topics might change in future updates.
Not everything is 100% correctly explained or information is left out. This is done to get the point across and keep everything accessible for newcomers.
--------------------
Prerequisites:
- you have a device able to run proxmox
- you have an other device to access web-interfaces
- you know your public IP-address. It is recommended that this is static.
- you know how to open ports
- recommended: have a domain name.
--------------------
Extra Notes:
-- will be added if I forgot something --
1. When setting up TrueNAS, for safety, it might be useful to have a look at Data Protection. I recommend to run a scrub test, snapshot and do a long smart test once a month for all drives/datapools.
2. Portainer agent is used to connect to a docker socket on another vm/lxc. This means you will only need to install portainer once to manage all virtual environments.
3. Latest Ryzen processors now come with integrated graphics.
4. Since OnlyOffice 7.2 JWT is enabled by default. It is recommended to use this for safety. Surf to the website link of onlyoffice and run the command in the vm shell. This secret key can than be used when connection to OnlyOffice in nextcloud. Or set a environment variable like in my updated boilerplate.
--------------------
Resources:
My docker boilerplates: github.com/MatthiasBenaets/boilerplates/tree/maste…
My personal notes for my home network: github.com/MatthiasBenaets/boilerplates/blob/maste…
--------------------
Timestamps:
0:00:00 Introduction
0:03:48 Hardware
0:16:00 Software overview
0:19:36 Proxmox installation
0:37:00 TrueNAS installation / Virtual Machine creation
0:52:55 Passthrough to VM
1:05:33 TrueNAS setup
1:24:30 Container creation
1:30:55 Docker
1:34:40 Portainer
1:37:50 Docker compose services
1:38:30 Pi-hole
1:49:19 Wireguard
2:02:15 Nginx Proxy Manager
2:08:58 Nextcloud and OnlyOffice
2:28:18 Nginx Website
--------------------
Enjoyed the course and want to tip? www.paypal.com/donate/?hosted_button_id=VXJ2AVMJRQ…

All Comments (21)
  • @chokolokoloko
    Hi Matthias, why I just found your video is beyond me, as I have been struggling with all these topics separately the last few weeks. Turns out all the answers were already here! Currently following this amazingly well put together guide, thank you so much for this.
  • @GunterLuyten
    Great and comprehensive guide, thanks a lot Matthias!
  • @hamzncheese
    Thank you very much for putting this guide together! I feel like I can finally get a jump up to speed with everything else now because of Homelab setup guide.
  • This is INSANE. Thank you so much for making this video! You're a lifesaver!!!!!!!
  • @kexec.
    It's one of the best tutorial for homebrew solution
  • Absolutely fantastic, saved me from some guides by influencers that just gave the wrong advice. Thanks!
  • @pablogc2008
    Amazing guide my friend. Thank you so much.
  • You sir do not understand how much I appreciate this video. The amount of effort you have put into creating this tutorial is beyond the thumbs up button, the subscribe, and commenting my appreciation. I hope you are able to continue this and I will support this kind of content as much as I can. I am so glad to see this, made my year. You sir are the GOAT!!!!!
  • Matthias, you came on my youtube autoplay literally while I was finishing up the build for my server. I'd been planning to do a Proxmox / TrueNas build with nearly all the services you showed off here. This has been beyond valuable. And your ability to navigate all these intalls and configs essenatially live without any major hickups is extremely impressive. Thanks so much.
  • @rraymakers
    the network stack in Docker as very informative. Going to use that in my home lab, and will integrate Unbound into it. and maybe VaultWarden
  • @l0gic23
    Incredibke community contribution. Thank you
  • @kishor5389
    Plz make more Homelab vids 😭 This was such a good guideeeee
  • @chromerims
    Surpassing video 👍 1:04:11 -- qm set 100 -iscsiXX /dev/disk/by-id/devicenameZZ for passing through a storage device directly to VM 100 45:19 and 1:18:04 -- Async IO options: default (io_uring), io_uring, native, threads . . . I shall have to try these
  • @satysin630
    Wow Matthias! I was doing a little research on NixOS and come across your NixOS video and this one, amazing stuff. Kinda funny to see some cycling videos on your channel and then bam two of the best videos on YouTube for NixOS and Homelabs 😁
  • @tomdeu79
    very funny video! i laughed very hard! Thank you for this entertainment! Keep on going!
  • @AdmV0rl0n
    You put a lot of work into this and deserve more views. My personal way of doing stuff at home now is in fact to not expose much anymore. Its just too hard and tiresome to work on security around these services (or any services). So in my own things, I place wireguard VPN - and don't expose other ports and things. VPN in, use the services. In its own way it simplifies a fair amount. This is less nice if you want to share things, or give more to users, but equally, you can choose to allow them VPN access.. Still appreciate all the stuff here, really good video.