The services you should set up alongside Home Assistant, Plex, and Proxmox are: a reverse proxy (like Nginx Proxy Manager or Traefik), a database for Home Assistant (MariaDB or PostgreSQL), a backup solution (Proxmox Backup Server or a simple cron script), a monitoring tool (Uptime Kuma or Grafana), a VPN (WireGuard or Tailscale), and a Docker management UI (Portainer). These fill the gaps in security, data persistence, and remote access that a bare installation leaves open.
Why These Services Matter
Home Assistant (HA) is your automation brain, Plex is your media server, and Proxmox is the hypervisor that runs them as virtual machines (VMs) or containers (LXC). On their own, each works fine, but together they create a home lab that needs supporting infrastructure. The default HA installation uses SQLite, which can corrupt under heavy write loads—especially if you have many sensors or long history retention. Plex needs a stable network path and secure remote access. Proxmox gives you snapshots, but not off-site backups. The services below solve these specific problems without overcomplicating your setup.
Reverse Proxy: The Front Door
A reverse proxy sits between the internet and your services. It handles SSL certificates, routes traffic to the correct VM, and hides internal ports. Without it, you either expose raw ports (insecure) or rely on cloud relays (slow).
- Nginx Proxy Manager – Web GUI, Let’s Encrypt integration, access lists. Ideal for beginners.
- Traefik – Config via labels or files, auto-discovers Docker containers. More powerful but steeper learning curve.
You run the proxy on a dedicated LXC container or VM. Point your domain’s DNS to your public IP, forward ports 80 and 443 on your router to the proxy, and then create proxy hosts for ha.example.com, plex.example.com, and so on. For Plex, you’ll need to enable “WebSockets” and “HTTP/2” in the proxy settings. For Home Assistant, you must add trusted_proxies and use_x_forwarded_for in your configuration.yaml to avoid IP-based security issues.
Database: Move Beyond SQLite
Home Assistant’s default SQLite database works for small setups, but as you add history, logbook entries, and energy monitoring, it becomes a bottleneck. A dedicated database server—MariaDB or PostgreSQL—runs on its own LXC or VM and handles concurrent reads/writes far better.
Install MariaDB on a lightweight Debian container, create a database and user for HA, then add the recorder integration in HA pointing to that server. You’ll also want to set up purge_keep_days to limit history retention (e.g., 14 days) and commit_interval to batch writes. This reduces SD card or SSD wear on the HA VM and speeds up dashboards. PostgreSQL is an alternative if you prefer it; HA supports both via the recorder integration.
Backups: Snapshots Aren’t Enough
Proxmox snapshots protect against configuration errors, but they live on the same host. If the host dies, you lose everything. A proper backup strategy includes:
- Proxmox Backup Server (PBS) – Dedicated LXC that deduplicates and compresses backups. It can run on the same host but ideally on a separate machine or at least a different disk.
- Off-site copy – Use
rsyncorrcloneto push PBS backups to a cloud provider or a remote NAS. - Home Assistant backups – HA has a built-in backup feature that creates a snapshot of its config. Schedule it daily and store it on a network share.
Test your backups quarterly. A backup you can’t restore is worthless. For Plex, back up the Plex Media Server folder (metadata, watch history, settings) but not the media files themselves—those can be re-scanned.
Monitoring: Know When Things Break
You set up all these services, so you want to know when they’re down or slow. Uptime Kuma is a simple self-hosted monitor that pings your services and sends notifications via email, Telegram, or Discord. Install it as a Docker container on a VM or LXC. Add checks for HA, Plex, the proxy, and the database.
For deeper insight, Grafana + Prometheus can scrape metrics from Proxmox (via the proxmox exporter) and Home Assistant (via the prometheus integration). You’ll see CPU, RAM, disk I/O, and temperature trends. This helps you spot resource exhaustion before it causes outages. Start with Uptime Kuma; add Grafana only if you enjoy dashboards.
VPN: Remote Access Without Exposing Ports
Instead of forwarding ports for every service, a VPN gives you secure remote access to your whole network. Two popular options:
- WireGuard – Fast, modern, and simple. Run it in a Docker container or LXC. Configure port forwarding for a single UDP port.
- Tailscale – A mesh VPN that uses WireGuard under the hood. No port forwarding needed; it works through NAT. Free for personal use.
With a VPN, you can reach HA, Plex, and Proxmox from your phone or laptop as if you were home. This also means you don’t need to expose Plex’s port 32400 to the internet—though Plex’s own relay works if you prefer. For Home Assistant, you can use the VPN to access the web interface without relying on Nabu Casa’s cloud service.
Docker Management: Portainer
If you run Docker containers on a VM (for things like Uptime Kuma, WireGuard, or the reverse proxy), Portainer gives you a web UI to manage them. It shows logs, stats, and lets you start/stop containers without SSH. Install Portainer as a container itself, and it will manage the Docker socket. This is optional but saves time when you’re experimenting with new services.
Frequently Asked Questions
Should I run Home Assistant as a VM or an LXC container?
For Home Assistant OS, use a VM because it requires full access to hardware (USB devices, Zigbee sticks). For Home Assistant Core (Python) or Supervised, an LXC container works but you lose the official add-on store. Most users prefer the VM for simplicity and add-on compatibility.
Do I need a reverse proxy if I only use Home Assistant locally?
No. If you never access HA from outside your LAN, you can skip the proxy. But if you use the mobile app remotely, you’ll either need a proxy or a VPN. The proxy also gives you HTTPS locally, which is nice but not required.
Can I run Plex and Home Assistant on the same VM?
Technically yes, but it’s not recommended. Plex transcoding is CPU-intensive and can starve HA of resources. Separate VMs let you allocate CPU and RAM per service and isolate failures. If you have a low-power server, consider running Plex in an LXC with GPU passthrough for transcoding.
How do I backup Home Assistant with Proxmox?
Use Proxmox’s built-in backup on the HA VM. Set a schedule (e.g., daily at 3 AM) and store backups on a separate storage location. Also enable HA’s built-in backup to a network share for extra safety. Remember to stop the VM or use the fsfreeze hook to ensure consistent snapshots.
Is it safe to expose Plex to the internet without a VPN?
Yes, Plex uses its own authentication and HTTPS. It’s generally safe to forward port 32400. However, a reverse proxy or VPN adds an extra layer and hides your IP. If you’re concerned about security, use a VPN for remote access instead of port forwarding.
What’s the minimum hardware for all this?
An Intel N100 or a used Dell OptiPlex with 16 GB RAM and a 256 GB SSD can run Proxmox with HA, Plex, and a few other services. Plex transcoding benefits from a Quick Sync GPU. For 4K transcoding, you’ll need a newer CPU or a dedicated GPU.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Mac Menu Bar Task Goal & Reminder: One Thing
- Skip These Distros and Use These Instead?
- Fedora Asahi Remix 41 on Apple Silicon Macs
- Controller vs Arcade Stick for Fighting Games
- Raspberry Pi 4 vs 5: Which Should You Choose?
- Morning vs Night Planning: Which Works Best?