Skip to content

Category: Linux

Frigate NVR with GPU-offloading in Docker on LXC on Proxmox, integrated with Home Assistant and Authentik

I recently set up Frigate NVR at home, and wanted to integrate it into my existing ecosystems. I wanted to offload transcodes and detection to my GPU, use my existing Authentik setup for authentication, and integrate it with my Home Assistant setup. All while running within Docker containers, running inside LXC on my Proxmox server. This is how I configured everything.

Leave a Comment

Plex GPU transcoding in Docker on LXC on Proxmox v2

It’s been a few years since I made my post about getting Plex GPU transcoding to work in Docker inside an LXC container running on Proxmox. It’s gotten quite a few updates over the years based on feedbacks and own observations, which fixes different problems and optimized several aspects.

I recently upgraded my Proxmox-host, and also wanted to update my NVIDIA-drivers. After the upgrade everything seemed to be fine, but Plex transcoding would not work. All my usual previous fixes did not solve the problem. I decided to “start from scratch”, and see if I could a) get it to work, b) simplify the setup, and c) improve where possible.

14 Comments

Plex GPU transcoding in Docker on LXC on Proxmox

I recently had to get GPU transcoding in Plex to work. The setup involved running Plex inside a Docker container, inside of an LXC container, running on top of Proxmox. I found some general guidelines online, but none that covered all aspects (especially dual layer of containerization/virtualization). I ran into a few challenges to get this working properly, so I’ll attempt to give a complete guide here.

Edit (2025-04-20): I’ve since created a new version of this guide (v2). I recommend that you use the new version. I will not be able to validate any aspects of the old guide, as I’m using the new setup. Also, this version (v1) will probably not get much updates due to this.

38 Comments

MySQL-cluster how-to (with load-balancing & failover)

Since I recently configured and installed a MySQL-cluster, I thought I’d share the procedure. A lot of the examples around explains how to set it all up on the same machine for “testing purposes” — which, in theory, is the same as setting it up on different machines. I’ll be explaining the latter, that is, installing it onto different machines.

102 Comments

Add timestamp to ping

I’ve been in some situations where I’d like to add timestamp to pings. There could be loads of reasons as to why you’d like to do this, but I used it to check if there where specific times of the day that had higher latency on my internet-connection at home.

26 Comments