Any chance of a slightly deeper dive on your setup? I’ve got a mini PC which is a 7th gen i5 + 32GB RAM that I’m going to set up as a Proxmox host over the weekend. I already have another mini PC running Debian and a variety of Docker containers including AdGuard Home, Paperless, Minecraft servers etc, plus a very old Pi running a single AdGuard Home container in Docker. I’d like to bin off the Pi and run the second AGH instance somewhere else but looking for inspiration of how I could set things up or what else I could run
Sure, it's been kind of cobbled together based on a very rudimentary understanding of Linux and following various online guides and walkthroughs, so probably not the most optimal setup, but it works for me
It's a Lenovo M910q:
- i7-7700T (which I believe is the fastest low TDP socket 1151 chip)
- 16gb + 32GB RAM sticks (came with the 16GB, managed to snag a cheap 32GB - still keeping an eye out for a second!)
- 1TB Crucial P3 Plus NVMe as the main drive
- 1TB Teamgroup GX2 SSD purely for Frigate recordings
- 240GB SSD (the one which came with the PC) connected via a USB -> SATA adapter purely for backup storage
- Coral Google Mini PCIe M.2 Accelerator A/E Development Kit (Part No. G650-04527-01) (~£20 from RS online)
I've got LXCs set up for:
- Frigate (in Docker)
- AdGuard
- Valheim dedicated server (in LinuxGSM)
- Satisfactory dedicated server (in LinuxGSM)
Plus a couple of templates created so I can quickly deploy LXCs for
I've also got VMs set up for
- HAOS (Home Assistant)
- Octoprint
- PBS (Proxmox Backup Server)
======
Frigate runs really well - apparently it's not advised to run as an LXC, but my inference speed is 6.46ms, which (if my calculations are right!) gives me the capacity to run ~142fps, e.g. 10 cameras at 14fps, 5 at 30fps, etc. I'm only running 4 cameras, so plenty of headroom.
I do seem to remember the setup being a bit of a pain - in particular getting it to see the Coral TPU (needing to find the right config to pass it through both Proxmox and Docker). I do have some rough notes and links to various guides I can PM you if you want.
======
I have a daily backup task set to run in PBS which saves to the 240GB SSD - it backs up the LXCs/VMs/templates, but not Proxmox itself, or the Frigate recordings.
This isn't the the ideal way to set it up, as while restoring individual VMs/containers is easy enough, in the case of a total system/drive failure, I'd first have to re-install Proxmox, then create a new VM for PBS, before being able to access the backups, but there's nothing on there which is production/time critical, so the risk/delay isn't a huge issue. I have considered grabbing a RPi to install it on instead, but that's a project for another day
The 240GB drive doesn't sound big enough at first, but PBS is doing an excellent job of deduplication. I have a total of 847 backups across the 9 systems, and so far it's only taking ~94GB, with a deduplication factor of 111.38! Looking at the dashboard, it reckons I have another 130 days worth of space left (at which point it can safely start overwriting the oldest ones
)
=======
For AdGuard, I also have a backup running on a Pi Zero 2W - this is just on Wifi, so literally only the Pi, micro SD and power supply needed, and it can go anywhere with a power socket as long as it's in range of the wifi.
This is set up using KeepAlived - with the primary as the LXC, and the Pi as a failover.
It's obviously not going to be as fast as the main one, but I've had it failover before (managed to knock the network lead out of the server while moving some stuff around), and it was seamless - didn't even realise it was down until I noticed I couldn't control the lights through HA.
========
At the moment, it's all a nest of wires on the floor - in the process of redecorating at which point it's going to all be wall mounted and tucked out of the way!