Перейти к содержимому

Self-hosting Squad

When you host Squad yourself, it runs as one container, one systemd service on Debian or Ubuntu, or one pod on Kubernetes. Inside, a supervisor called fluxerd runs PostgreSQL, the API, the gateway, search, voice and the web app. Squad needs only a domain or an IP address from you. The first time it starts, it makes every password and key it needs.

Where will Fluxer run?

Docker

Most people start with Docker, which runs Fluxer as one container on 64-bit Linux.

Install with Docker

NAS and home servers

Synology, Unraid, TrueNAS, QNAP, CasaOS and ZimaOS have platform guides. Umbrel and YunoHost have no Fluxer app or package yet, and their guides show how to run Fluxer on another machine or VM.

See the NAS guides

Linux with systemd

rexctl installs Fluxer as a systemd service.

Install on Linux with systemd

Kubernetes

The Helm chart installs Fluxer as one pod, behind your ingress or your Gateway API.

Install on Kubernetes

Docker Desktop

Docker Desktop runs Fluxer on a Mac or a Windows PC, for a small instance or to try it.

Use Docker Desktop

Docker, systemd and Kubernetes run the same Squad with the same settings and the same fluxerd commands. rexctl is an optional helper for Docker, Podman and systemd, and Linux by hand installs the systemd service without it.

Squad also runs on other platforms, such as a Raspberry Pi, Synology or Proxmox.

After the setup wizard, invite people by link.

  • Keep backups off the machine. Squad backs up its database to the same disk before every upgrade, and on a schedule when you set FLUXER_BACKUP_SCHEDULE.
  • Install new releases when they come out. They fix bugs and security problems.
  • Set up email if people sign in with email. Password resets go out by email.
  • Look after the communities on your instance. You and the admins you choose handle reports and moderation in the admin panel.
  • Watch voice capacity. Calls use the machine’s CPU and bandwidth, and voice servers on other machines take the load off it.

A self-hosted instance runs the same code as fluxer.com, with a few differences.

Instances that run each part of Squad in its own container keep working on the release they have. You can move them to one container or to systemd when you’re ready.