PRIVATE USE ONLY - st3f Media internal infrastructure. Do not distribute, mirror, or use outside authorized deployments.

st3f-node

Pull-based streaming node installer. One command. No GitHub tokens. No secrets in CI.

Install a Slave Node

Run on a fresh Debian 12+ / Ubuntu 22.04+ box with root + public IPv4/IPv6.

curl -fsSL https://setup.st3f.uk/install.sh | sudo bash -s -- \
  --name 

Requires: Tailscale auth key (from master dashboard), Cloudflare DNS for the three public hostnames.

Install Management CLI

For deploying the dual-master control plane (London/France). No streaming services installed.

curl -fsSL https://setup.st3f.uk/install.sh | sudo bash -s -- --role management

What Gets Installed

Icecast

Streaming server. Source auth via per-node Ed25519-derived credentials.

Liquidsoap

Audio processing, silence detection, local fallback, HLS segmenter.

Caddy

TLS termination (ACME DNS-01 via Cloudflare), reverse proxy to Icecast, HLS file server.

st3f-agent

Pulls signed config from masters over mTLS (Tailscale), applies atomically, reports health.

Tailscale

Mesh to masters (port 8088). No public exposure. Tagged tag:st3f-slave.

Architecture Notes

Verification

Release Integrity

All artefacts signed with cosign keyless. Verify the installer:

curl -fsSL https://setup.st3f.uk/install.sh -o install.sh
curl -fsSL https://github.com/StefCoders/st3f-node/releases/download/v1.1.0/SHA256SUMS -o SHA256SUMS
sha256sum -c SHA256SUMS 2>/dev/null | grep "install.sh: OK"

Daily Ops

st3f-node verify - health check
st3f-node converge - force config pull
journalctl -u st3f-node-agent -f - agent logs
docker logs st3f-icecast - stream logs

Master Control Plane

Deployed separately on London + France via management host:

# 1. Management CLI
curl -fsSL https://setup.st3f.uk/install.sh | sudo bash -s -- --role management

# 2. Configure master.env (per host)
sudo cp deploy/master/master.env.example /etc/st3f-master/master.env
# edit: ST3F_MASTER_ID, ST3F_MASTER_HOST_IP, ST3F_MASTER_ADVERTISE_URL, ST3F_MASTER_PEERS

# 3. London first (creates CA)
sudo deploy/master/install-master.sh
# export trust bundle for France
st3f-node master --data-dir /var/lib/st3f-master export-trust --output /root/trust-bundle.json

# 4. France second (imports bundle)
# copy trust-bundle.json offline, set ST3F_MASTER_TRUST_BUNDLE
sudo deploy/master/install-master.sh

Dashboard

Over Tailscale only: https://:8088/

Create nodes - mint one-time tokens - slaves enrol automatically.


st3f-node v1.1.0 - source | releases | master deployment