Configuration
Configure Fluxomni with environment variables in .env.
Core Variables
FLUXOMNI_FRONTEND_IMAGE: frontend image repository.FLUXOMNI_CONTROL_PLANE_IMAGE: control-plane image repository.FLUXOMNI_MEDIA_NODE_IMAGE: media-node image repository.FLUXOMNI_VERSION: image tag to deploy.FLUXOMNI_PUBLIC_HOST: public hostname/IP used for the control surface and generated control-plane URLs.FLUXOMNI_PUBLIC_URL: full public base URL including scheme (e.g.https://stream.example.com). Required for HTTPS deployments behind a TLS-terminating reverse proxy. Takes precedence overFLUXOMNI_PUBLIC_HOST+FLUXOMNI_FRONTEND_HTTP_PORT.FLUXOMNI_TRUSTED_PROXY_IPS: exact IP addresses of reverse proxies that append or replace client-address headers. Required from 26.4.0 when Fluxomni is behind a proxy, so login limits stay per client. See Client address.FLUXOMNI_MEDIA_NODE_PUBLIC_HOST: public hostname/IP shown in generated RTMP, HLS, SRT, and WebRTC media URLs.FLUXOMNI_MEDIA_NODE_ID: stable media-node identifier shown in fleet views.FLUXOMNI_MEDIA_NODE_NAME: human-readable media-node name shown in the control-plane.FLUXOMNI_MEDIA_NODE_LABELS: optional comma-separated capability labels for routing and fleet filters.FLUXOMNI_MEDIA_NODE_ZONE: optional placement zone used to describe where the node runs.
FLUXOMNI_MEDIA_NODE_PUBLIC_HOST advertises media URLs only. It is optional for a private node and does not participate in control registration. FLUXOMNI_MEDIA_NODE_HTTP_HOST independently advertises an HTTP media relay.
Example:
FLUXOMNI_CONTROL_PLANE_IMAGE=ghcr.io/fluxomnia-systems/fluxomni-control-plane
FLUXOMNI_FRONTEND_IMAGE=ghcr.io/fluxomnia-systems/fluxomni-frontend
FLUXOMNI_MEDIA_NODE_IMAGE=ghcr.io/fluxomnia-systems/fluxomni-media-node
FLUXOMNI_VERSION=latest
FLUXOMNI_PUBLIC_HOST=control.example.com
FLUXOMNI_MEDIA_NODE_PUBLIC_HOST=control.example.com
install.sh also writes FLUXOMNI_CONTROL_PLANE_INTERNAL_AUTH_TOKEN automatically. This token serves internal HTTP artifact access; node admission uses separate machine credentials.
Published self-host releases serve the operator UI from the frontend container, so FLUXOMNI_PUBLIC_HOST and FLUXOMNI_FRONTEND_HTTP_PORT determine the browser URL you share with operators.
If you deploy behind a domain or reverse proxy, set FLUXOMNI_PUBLIC_HOST, FLUXOMNI_MEDIA_NODE_PUBLIC_HOST, and FLUXOMNI_PUBLIC_URL (with the https:// scheme) so generated URLs use the correct hostnames and scheme. See Reverse Proxy & TLS for examples.
Release Channels
latest: newest stable release and the default in this repositoryvYY.Q.N: canonical public stable release tag, e.g.v26.2.4vX.Y.Z: core image tag, accepted for direct image pinning, e.g.v0.13.0edge: latest successful publish frommain
The public launcher resolves latest to the stable release’s installer and assets while keeping latest as the saved image channel. Stable pins use their own installer and assets; missing releases fail before changing installation files. edge uses the current runtime installer and main assets.
FLUXOMNI_SELFHOST_REF selects both installer code and assets for an explicit ref. FLUXOMNI_REPO_RAW selects a custom asset base that must provide scripts/install-runtime.sh; this is intended for release validation. Avoid mixing a stable image with main assets.
The installer maps canonical public pins to the matching core image tag when native date image tags are not published.
Optional Variables
FLUXOMNI_FRONTEND_HTTP_PORT: host HTTP port for the frontend UI and proxied API.FLUXOMNI_CONTROL_PLANE_RPC_PORT: host TLS control port for outbound media-node connections. Defaults to localhost-only; expose it deliberately when attaching external media nodes.FLUXOMNI_MEDIA_NODE_RTMP_PORT: host RTMP ingest port.FLUXOMNI_MEDIA_NODE_HLS_PORT: host HLS TCP port.FLUXOMNI_MEDIA_NODE_WHIP_PORT: host WHIP signaling TCP port (default8003).FLUXOMNI_SRS_RTC_PORT: WebRTC media UDP listener and host port (default8000), independent of HLS.FLUXOMNI_SRS_CANDIDATE: reachable ICE candidate hostname/IP; defaults to the media-node public host when empty.FLUXOMNI_MEDIA_NODE_SRS_CALLBACK_PORT: host loopback port for the internal SRS callback listener.FLUXOMNI_MEDIA_NODE_SRT_PORT: host SRT UDP port.FLUXOMNI_CONTROL_PLANE_DATA_DIR: control-plane app data directory on the host.FLUXOMNI_MEDIA_NODE_DATA_DIR: media-node app data directory on the host.FLUXOMNI_SHARED_VIDEO_DIR: host directory mounted read-only into the media-node video cache path.FLUXOMNI_OTLP_ENDPOINT: OpenTelemetry collector endpoint (e.g.http://collector:4318).
For single-host installs, keep both data-directory variables on ./data unless you need separate storage locations.
If you move FLUXOMNI_MEDIA_NODE_DATA_DIR elsewhere, keep FLUXOMNI_SHARED_VIDEO_DIR pointed at the control-plane video cache so downloaded or imported playlist files remain readable from the media-node.
Apply Changes
Apply changes through Capacity Ledger Upgrades. Disable and drain routes before recreating existing control-plane or media-node containers, then restore the recorded enabled routes after verification.
The operator UI is served from the frontend host:
http://<FLUXOMNI_PUBLIC_HOST>for the landing page/routesfor route management/fleetfor media-node monitoring
Attach an External Media Node
Open Fleet → Add Node as an Admin. If Enrollment URL is an HTTP address, Generate join command stays disabled. Enter the control plane HTTPS address the new node can reach, including /api/node-enrollment/redeem, then copy the command and run it on the remote host.
The command carries a fifteen-minute, single-use code. Certificate pinning, node-secrets/, and recovery are in Attach Another Media Node.
Update an Existing Installation
Follow the capacity upgrade guide. Installer reruns require initial, drained or standalone-node maintenance mode; keep automatic updates stopped.
Offline Preparation Resource Limits
From the installer release after v26.4.0, a new Linux host with a normal Docker Engine turns preparation limits on. Docker Desktop and WSL stay off. The budgets are about 25% of CPU, 25% of memory, and 256 threads. The installer prints the numbers. Set FLUXOMNI_PREPARATION_CGROUP_ENABLED=0 to skip it. An existing install keeps its saved choice.
Each media node can have its own shared budget for playlist normalization. Live FFmpeg and SRS remain outside that preparation group. The Fleet node’s Diagnostics page shows the configured budget, current usage, throttling and active/waiting preparation jobs.
This option requires a media-node build that supports preparation cgroups,
Linux with cgroup v2, a local rootful Docker daemon without user namespace
remapping, systemd, Python 3 at /usr/bin/python3, and root or sudo. Docker Desktop, WSL, remote Docker
contexts and rootless Docker are not supported. A new install leaves limits off there and continues.
If fluxomnictl is not installed yet, install it first. See Installation Health Check (Doctor). It does not pull images or restart services.
Check the host before you change an install. The command lists every problem at once:
fluxomnictl preparation check
If cpu, memory, or pids is missing from /sys/fs/cgroup/cgroup.subtree_control, this command can turn those controllers on. It asks first. It writes /etc/systemd/system.conf.d/fluxomni-preparation.conf and runs systemctl daemon-reexec. That is a host-wide change. Nothing removes the file later, including when you disable preparation. Delete it yourself and run systemctl daemon-reexec again if you want the old host policy back.
sudo fluxomnictl preparation check --enable-controllers
If sudo cannot find the command, use the path from a non-root install:
sudo ~/.local/bin/fluxomnictl preparation check --enable-controllers
The installer itself does not change that host-wide policy. If the setting is saved but not active, reboot, then run the check again.
Choose budgets for your machine; the following values are examples. On a new host, pass them to the first install:
curl -fsSL https://install.fluxomni.io -o install.sh
FLUXOMNI_PREPARATION_CGROUP_ENABLED=1 \
FLUXOMNI_PREPARATION_CPU_MILLICORES=500 \
FLUXOMNI_PREPARATION_MEMORY_MIB=1024 \
FLUXOMNI_PREPARATION_TASKS=64 \
bash install.sh full
On an existing full install, name the install folder and use drained maintenance. Disable routes and wait for zero reservations first. See Later planned upgrades. full matches ~/fluxomni. Do not pass media-node unless that is the install you mean:
FLUXOMNI_DIR=~/fluxomni \
FLUXOMNI_PREPARATION_CGROUP_ENABLED=1 \
FLUXOMNI_PREPARATION_CPU_MILLICORES=500 \
FLUXOMNI_PREPARATION_MEMORY_MIB=1024 \
FLUXOMNI_PREPARATION_TASKS=64 \
bash install.sh full --capacity-upgrade drained
A standalone node uses media-node, ~/fluxomni-media-node, and --capacity-upgrade node --confirm-control-plane-ready. Repeat on other node hosts with different budgets. 500 millicores means half of one CPU core; memory is MiB and includes charged page cache; tasks count threads, not just processes. Swap is disabled for preparation. These limits do not predict how many additional live routes or outputs will fit.
The installer saves the values in .env, downloads the common
docker-compose.preparation-cgroup.yml overlay and includes it in the installed
Compose bundle. Each installation directory gets a distinct hash-named group,
root-owned helper and boot unit. Keep installation directories stable. The unit
recreates the group before Docker starts after reboot, including socket
activation. No privileged media-node container or full writable cgroup mount
is added.
Installer reruns preserve budgets; an explicit environment value overrides its
saved value. To change just CPU, rerun with
FLUXOMNI_PREPARATION_CPU_MILLICORES=750. Changing an existing node requires the
drained maintenance procedure.
The installer requires the current media-node startup to confirm enforcement,
so older images cannot pass using limits left by a previous version.
Check that Fleet reports enforced after recreation. CPU throttling slows
preparation; memory/task-limit events fail the preparation request. Shared
storage, memory bandwidth and GPU contention still need workload testing.
To disable, rerun the installer with
FLUXOMNI_PREPARATION_CGROUP_ENABLED=0. This removes the active overlay, disables
the boot unit and saves budgets as comments for a later explicit re-enable.
Changing the flag alone followed by docker compose up does not rebuild the
include: use the installer for enable/disable. Disabling never kills or deletes
the old cgroup. After a killed node, re-enabling lets the runtime recover its
owned attempts; live/runtime Docker limits cover a separate budget.
For manual deployments, provision a dedicated subtree, set
FLUXOMNI_PREPARATION_HOST_ROOT and all three budgets, then combine either base
Compose template with docker-compose.preparation-cgroup.yml. Do not share a
preparation root between nodes. Provide boot-time provisioning before Docker
restores the container. Installer-managed roots can be drained after stopping
the node with the root-owned helper’s cleanup <installation-hash> command;
cleanup disables that installation’s boot unit and refuses a live owner.