Skip to content

Settings (.env) ​

The settings are in /opt/flowtrix/.env (mode 0600); the comments there explain each one. After a change:

sh
cd /opt/flowtrix && sudo docker compose up -d

System › Settings shows what is in use. The installer writes the images, the licence folder, the updater's folder and the version; leave those to it.

Keep FLOWTRIX_SECRET

It seals the token issuers' secrets. Changed or lost, every issuer's secret becomes unreadable and must be rotated, and the installer refuses to make a new one while data sealed with the old one exists. Keep a copy of .env.

Server ​

SettingMeaning
FLOWTRIX_SECRETThe server's own secret (32+ characters): seals the issuers' secrets, signs the interface's preview links; at the first start also the issuer "Default"
FLOWTRIX_ADMIN_USER, FLOWTRIX_ADMIN_PASSWORDThe first admin, made at the first start only
FLOWTRIX_VERSIONThe version installed; written by the installer

Ports ​

SettingDefaultMeaning
FLOWTRIX_HTTP_PORT8080Video over HTTP
FLOWTRIX_API_PORT8090The interface and /v1
FLOWTRIX_HTTPS_PORT8443Video over HTTPS, with a certificate
FLOWTRIX_API_HTTPS_PORT9443The interface over HTTPS, with a certificate
FLOWTRIX_HTTP_BIND, FLOWTRIX_API_BIND, FLOWTRIX_HTTPS_BINDemptyWhere each listens: empty for every address, 127.0.0.1 for this machine only
FLOWTRIX_PLAY_URLemptyWhere viewers reach the edge, for the interface's player (e.g. https://tv.example.com)

HTTPS and proxy ​

SettingMeaning
FLOWTRIX_TLSA folder with fullchain.pem and privkey.pem; empty for HTTP only. See HTTPS
FLOWTRIX_PROXYThe reverse proxy's addresses or ranges (e.g. 172.16.0.0/12); empty: X-Forwarded-For is never believed

Storage ​

SettingHoldsDefault
FLOWTRIX_RECORDINGSCatch-up recordingsA Docker volume
FLOWTRIX_STORAGEThe storage root: VOD libraries are folders under itA Docker volume
FLOWTRIX_FETCH_PRIVATEtrue lets films be fetched from your private networkRefused

A folder on the host must exist and belong to uid 10001: sudo chown -R 10001:10001 <folder>.

Qualities and updates ​

SettingMeaning
FLOWTRIX_GPU, FLOWTRIX_GPU_GROUPThe host's render device and the group that may use it; written by the installer
FLOWTRIX_HWACCELnone keeps qualities on the CPU
FLOWTRIX_AUTO_SECURITY_UPDATESfalse: security releases wait for an admin's click

Integrated media software