Skip to content

Planning Your Server

HeimDOS edited this page Nov 4, 2026 · 1 revision

Plan these items before you install. The operator guide for each verified release has the final word. These are the needs of the current source tree.

Host

  • A Linux host. Debian and Ubuntu are the tested families.
  • Docker Engine 29.8.2 or newer, and Docker Compose v2 2.24.5 or newer.
  • nginx and Python 3 on the host.
  • A fresh machine. The installer supports fresh installations only, and it refuses to overwrite an existing setup.

Network

  • A public IPv4 address. IPv6-only hosting is not supported for calls.
  • A domain name, with DNS A records that point at the host for the base name and the api., media., and turn. names.

Firewall

Open these ports and nothing else to the internet:

Port Protocol Purpose
80, 443 TCP Web traffic and Let's Encrypt checks (nginx)
3478, 5349 TCP TURN relay
3478 UDP TURN relay
49152 to 49252 UDP TURN relay range
40000 to 41999 UDP Voice and video media

PostgreSQL, Redis, and NATS do not listen on the host at all. The control plane (8080) and media plane (3000) listen on 127.0.0.1 only, behind nginx.

On IPv4, Docker publishes its ports ahead of UFW, so UFW alone does not block them. Allow the ports above in UFW anyway so IPv6 and UFW's own view stay correct.

Decide before you start

  • Storage: bundled, or your own S3 bucket. You cannot switch later. See Storage.
  • Certificates: Let's Encrypt, import, or self-signed. See TLS certificates.

Clone this wiki locally