Skip to Content

Self-host ClipMux

Install ClipMux on your own server, then connect storage, encoding and delivery.

ClipMux runs as three containers on one Linux server: the app (one Go binary with its built-in encoder), Postgres, and Caddy for TLS. Out of the box it stores videos on the server's disk, encodes them on the server's GPU or CPU, and serves playback itself. Each of those can move later, to a bucket, a rented GPU or Cloudflare's edge, without changing the API your apps call.

You need a Linux server (amd64 or arm64) with Docker and Compose v2, ports 80 and 443 free, and two DNS names pointing at it: one for the dashboard and API, one for media. Then run:

curl -fsSL https://clipmux.com/install.sh | sudo sh

The installer puts ClipMux, Postgres and Caddy in /opt/clipmux, generates the database password and the secrets key, starts the stack, and prints the address and a setup token. Run the same command again to upgrade in place; the data, keys and sessions are kept.

ClipMux runs as one server process. It doesn't run as several replicas behind a load balancer.

Get started

Configure

Operate

Next

On this page