Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Configuration

Fluxomni Studio is configured through 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 over FLUXOMNI_PUBLIC_HOST + FLUXOMNI_FRONTEND_HTTP_PORT.
  • 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 is especially important for standalone media-node installs. Fluxomni Studio uses it in two places:

  • It is shown in the RTMP, HLS, SRT, and WebRTC URLs that operators and publishers use.
  • For standalone media-node installs, it is used to derive the default FLUXOMNI_MEDIA_NODE_ENDPOINT as http://<FLUXOMNI_MEDIA_NODE_PUBLIC_HOST>:50051. Single-host compose installs use Docker-internal networking (http://media-node:50051) instead.

If this value points to a private hostname, a Docker-only hostname, or the wrong server, the control-plane can register the node with an address that other systems cannot reach.

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. Keep the same token on both services; rotate it only if you are restarting the whole stack together. 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 repository
  • vYY.Q.N: canonical public stable release tag, e.g. v26.2.4
  • vX.Y.Z: core image tag, accepted for direct image pinning, e.g. v0.13.0
  • edge: latest successful publish from main

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 gRPC port for remote media-node registration and delivery. 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/WebRTC port.
  • 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_MEDIA_NODE_GRPC_PORT: host gRPC port for a standalone media-node.
  • 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 intentionally want separate storage surfaces. 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

From your install directory:

docker compose up -d

The operator UI is served from the frontend host:

  • http://<FLUXOMNI_PUBLIC_HOST> for the landing page
  • /routes for route management
  • /fleet for media-node monitoring

Attach an External Media Node

The full self-host install binds the control-plane RPC listener to localhost by default. Before attaching another media server, expose 50052/tcp only to trusted node IPs, then run the installer on that server in explicit media-node mode. FLUXOMNI_CONTROL_PLANE_RPC_ENDPOINT, FLUXOMNI_CONTROL_PLANE_INTERNAL_AUTH_TOKEN, and FLUXOMNI_MEDIA_NODE_PUBLIC_HOST are required for that mode:

FLUXOMNI_VERSION=edge \
FLUXOMNI_CONTROL_PLANE_RPC_ENDPOINT=http://control.example.com:50052 \
FLUXOMNI_CONTROL_PLANE_INTERNAL_AUTH_TOKEN=replace-with-shared-token \
FLUXOMNI_MEDIA_NODE_PUBLIC_HOST=media2.example.com \
  curl -fsSL https://install.fluxomni.io | bash -s -- media-node

That mode installs into ~/fluxomni-media-node by default, writes a media-node-only compose bundle, derives a host-specific node ID when one is not provided, and waits for a successful Registered media node with control plane log before printing success. Set FLUXOMNI_MEDIA_NODE_PUBLIC_HOST to the hostname or IP that the control-plane, publishers, and viewers should use for that media server. In the example above, that is media2.example.com.

Set these only when you need to override the defaults:

  • FLUXOMNI_MEDIA_NODE_ENDPOINT: advertised media-node gRPC endpoint. Defaults to http://<FLUXOMNI_MEDIA_NODE_PUBLIC_HOST>:50051.
  • FLUXOMNI_MEDIA_NODE_ID: stable node ID. Defaults to media-node-<hostname>.
  • FLUXOMNI_MEDIA_NODE_NAME: display name shown in the control-plane. Defaults to Media Node <hostname>.
  • FLUXOMNI_MEDIA_NODE_LABELS: comma-separated labels for node capabilities or operator grouping. Defaults to selfhost.
  • FLUXOMNI_MEDIA_NODE_ZONE: optional location or placement label. Defaults to local.

Update to Newest Image for Current Tag

From your install directory:

docker compose pull
docker compose up -d