S-SCOTTEK← HomepageNewsGuidesBuyingTeamForumSupportlog in · sign up
self-hosting 2026-11-30

Self-Host TubeHaus 2.2 With Docker: Search and Watch Privately

This guide is the written companion to the video, and the video is the starting point for the walkthrough. Watch the video for the 84-second path from clone to private search, then use this page for the exact commands and checks. It is grounded in the video's 36-cue auto-sub transcript plus the description, cross-checked against the TubeHaus repository and the 2.2.0 release tag. Steps not shown running on screen are marked untested rather than claimed.

TubeHaus 2.2.0 is a self-hosted YouTube-style front end: the familiar layout with search and watch, but no Google account, no ads, and the library stays on your machine. The method below follows the official Docker Compose path on Ubuntu 24.04, with the whole stack kept inside the home network.

What you need

Simulated terminal recreated from the test run showing the prerequisite check with Docker 29.1.3 and Compose v2.39.0 on Ubuntu 24.04
Simulated terminal recreated from the test run showing the prerequisite check with Docker 29.1.3 and Compose v2.39.0 on Ubuntu 24.04 (Still from the walkthrough video.)

Check the prerequisites with docker --version and docker compose version. The tested run behind the video reported Docker 29.1.3 with Compose v2.39.0, as the frame above recreates. Docker installation itself is a linked prerequisite and is untested in this guide. One caution: the captions say 8083 once while the description says 8080 twice, so confirm the port line against the example env file in the repo before starting.

Clone the repo and set three LAN lines

Clone the official repository and copy the example environment file it ships, then configure three lines for the home network: the home-network address, HTTP port 8080, and the server address as the public URL. The exact env filename and line names come from the repo, so treat this step as video-attributed and untested here, and keep every value LAN-local.

Pull the images and start three containers

Download the ready-made images with docker compose pull, then run everything in the background with docker compose up -d. The image download takes a few minutes and is shortened in the video.

Simulated terminal recreated from the test run showing compose pulling the caddy, bgutil, and tubehaus images and starting the stack
Simulated terminal recreated from the test run showing compose pulling the caddy, bgutil, and tubehaus images and starting the stack (Still from the walkthrough video.)

The frame above shows all three images pulled, caddy plus bgutil plus tubehaus, with Container tubehaus-tubehaus-1 Started after the up command. The transcript names the three roles as interface, server, and token helper. The restart policy resumes the stack after a reboot, which is untested here.

Claim the server with the setup code

On first launch a six-digit setup code appears in the server logs, so read it from the server container's log output. Then open the server address in a browser, enter the code, and pick a home viewing mode. Whoever claims the server first owns it, so do this immediately on a shared network. The log-reading and claiming clicks are video-attributed and untested in this guide.

Prove search works, then run the doctor check

Search for something like homelab and confirm live results with thumbnails, all served by your own server with no Google account. Then run the built-in doctor check, which verifies operation and real search lookups, and confirm the home page answers 200.

TubeHaus in a browser showing live homelab search results with thumbnails and the search-works banner proving the server install
TubeHaus in a browser showing live homelab search results with thumbnails and the search-works banner proving the server install (Still from the walkthrough video.)

The frame above is the proof shot: a YouTube-like page branded TubeHaus returning real results for homelab, with the banner confirming search works from the local server. The tested run behind the video reported the doctor check passing on all required checks including a real video lookup, plus a 200 on the home page.

Keep it inside your LAN

The video is the starting point and this page is the reference, so rewatch the middle chapters if a step looks unfamiliar, then rerun the matching command above. Related self-hosted media setups live in the guides index, including the channel's other Docker Compose walkthroughs.

Watch the walkthrough

Watch on YouTube

Webster the press owl — click to chat