Self-hostingInstall
Docker
On Docker or Podman, Fluxer runs as one container, started from a small compose file or one docker run line, and loads its settings from an env file.
Short version
Section titled "Short version"You need a 64-bit Linux machine with 2 CPU cores, 2 GB of memory at least, 4 GB for a busy instance, and Docker 24 or later with Compose. People open Fluxer at a domain that points at the machine, or at its IP address. Installing takes about 5 minutes.
mkdir fluxer && cd fluxerurl= https://github.com/ fluxerapp/ fluxer/ releases/ latest/ downloadcurl -fLO "$url/compose. yaml"curl -fLO "$url/fluxer.env"Set FLUXER_DOMAIN in fluxer.env, then run docker compose up -d and docker compose exec fluxer fluxerd setup-token. On a machine with IPv6, leave out the AAAA record for now, or put a reverse proxy in front.
What this changes
Section titled "What this changes"- One container from the image
ghcr.io/fluxerapp/fluxer. Docker calls it after the folder, such asfluxer-fluxer-1in a folder calledfluxer, anddocker composecommands in that folder find it asfluxer. - One Docker volume called
fluxer-data, which has the database, uploads, search index, certificates, passwords and keys. - Ports 80 and 443 on TCP, 443 on UDP, 7881 on TCP and 7882 on UDP, published on every one of the machine's addresses.
- Two files in a folder you choose,
compose.yamlandfluxer.env, both yours to edit.compose.yamlruns the release it came with and setsFLUXER_INSTALL_METHODtocompose, so the admin panel shows the compose upgrade command.
Fluxer runs as user ID 65532 inside the container.
Before you start
Section titled "Before you start"Check the requirements.
You need Docker Engine 24 or later and the Compose plugin. If the machine doesn't have them yet, install them, and on a VPS open the ports in your provider's firewall. Fluxer needs ports 80 and 443 open from the internet to get its certificate. If another web server already uses ports 80 and 443, put Fluxer behind it as you go.
To use the machine's IP address in place of a domain, skip the DNS steps and set FLUXER_DOMAIN in step 2 to the address, such as 203.0.113.10. Without a domain of your own, a free name such as 203-0-113-10.sslip.io works like a domain and keeps passkeys working. A public address gets a Let's Encrypt certificate. On a private address, browsers show a certificate warning until each device trusts Fluxer's own authority. Passkeys don't work on an IP address, whatever certificate it has. For an IPv6 address, also turn on IPv6 on the Docker network first.
With a domain, point it at the machine before the first start. At your DNS provider, add an A record for the name you want, such as chat, with the machine's public IPv4 address.
Then check that it resolves.
dig +short chat. example.comThe answer is the machine's address. If it isn't, wait a few minutes. Leave out the AAAA record unless a reverse proxy or Docker's IPv6 network keeps IPv6 visitors' addresses.
Install
Section titled "Install"-
Make a folder for Fluxer and download the two files from the latest release.
mkdir fluxer && cd fluxerurl=https://github.com/ fluxerapp/ fluxer/ releases/ latest/ download curl -fLO "$url/compose.yaml" curl -fLO "$url/fluxer.env"lsin that folder now listscompose.yamlandfluxer.env. -
Open
fluxer.envin an editor and setFLUXER_DOMAINto your domain, such aschat.example.com, withouthttps://.fluxer.env FLUXER_DOMAIN= chat.example.com Write values without quotes. A password with a
$in it goes in a file. Fluxer refuses to start with the example domainchat.example.com. -
Start Fluxer.
docker compose up -dThe first start takes a minute or two while Fluxer creates its database, passwords and keys.
docker compose psshould then showhealthyin its status column. The certificate can take another minute or two. -
Print the setup token.
docker compose exec fluxer fluxerd setup-tokenOpen
https://chat.example.comwith your domain. The setup wizard opens and asks for the token. Paste it and create the first admin account. With a domain, a certificate warning means Fluxer hasn't got its certificate yet, so wait a minute and reload. On a private IP address the warning stays until the device trusts Fluxer's own authority.docker compose logs fluxer | grep -iE 'acme|certificate'shows what Let's Encrypt reported. Let's Encrypt gives out at most 5 certificates a week for the same domain, and every reinstall with a new volume uses one of them.The wizard asks whether people sign in with a username or an email address, and this can't change later. Without an email account set up, pick usernames. People then keep a recovery kit in place of password reset emails. Under "Who can create an account?" the wizard starts on "Only people you invite".
-
Invite people with an invite link.
Without Compose
Section titled "Without Compose"The same container runs from one docker run line, with only fluxer.env in the folder.
docker run -d --name fluxer --restart unless-stopped --stop-timeout 130 \ --env-file fluxer.env -e FLUXER_INSTALL_ METHOD= docker -v fluxer-data:/var/ lib/ fluxer \ -p 80:80 -p 443:443 -p 443:443/udp -p 7881:7881 -p 7882:7882/udp \ ghcr.io/ fluxerapp/ fluxer:2026.1124.80040The first start takes a minute or two.
Once docker ps shows healthy in the status of fluxer, print the setup token.
docker exec fluxer fluxerd setup-tokenThe container is called fluxer, and docker logs fluxer shows its log.
Keep --stop-timeout 130, because Docker's default of 10 seconds stops PostgreSQL before it has shut down. The compose file and this line use the same volume, and you can switch between them without losing data.
Behind your own proxy or tunnel
Section titled "Behind your own proxy or tunnel"When something else handles HTTPS, such as nginx, Caddy, Traefik or Cloudflare Tunnel, Fluxer serves plain HTTP on port 8080.
Set this in fluxer.env, or FLUXER_EDGE_MODE=tunnel behind a tunnel.
FLUXER_ EDGE_ MODE= proxyPublish port 8080 on 127.0.0.1 in place of ports 80 and 443. The ports list becomes this.
services: fluxer: ports: - "127.0.0.1:8080:8080" - "7881:7881" - "7882:7882/ udp"With docker run, the port flags become these.
-p 127.0.0.1:8080:8080 -p 7881:7881 -p 7882:7882/udpKeep the port on 127.0.0.1 unless your proxy runs on another machine. Fluxer trusts the visitor address that anything on a private network sends it, so anything that can connect to port 8080 could pretend to be any visitor.
Set up your proxy with one of the proxy configs.
Voice and video
Section titled "Voice and video"Calls use TCP port 7881 and UDP port 7882 on the machine, also behind a proxy or tunnel. Open both in any firewall in front of the machine.
When FLUXER_DOMAIN is an IP address, calls use that address. With a domain, Fluxer finds its public address over STUN. On a home network, or when STUN finds the wrong address, set it yourself. Use your public IPv4 address, the one a site such as ifconfig.me shows, not the 192.168 address of the machine on your own network.
FLUXER_ LIVEKIT_ NODE_IP= 203.0.113.10To run without voice, set FLUXER_LIVEKIT_ENABLED=false and leave out the two voice ports. To run calls on other machines instead, add voice servers.
On Docker's default network, a visitor who connects over IPv6 shows up inside the container with the network's own address. Rate limits and bans then treat every IPv6 visitor as one person. IPv4 visitors keep their own address.
The simplest choice is to leave out the AAAA record, so everyone connects over IPv4. To serve IPv6 visitors as well, put a reverse proxy on the machine in front of Fluxer in proxy mode, as above. The proxy sees the real address and passes it on.
IPv6 on the Docker network also keeps addresses.
Podman
Section titled "Podman"Podman runs the same image with the same files. In podman run, --sysctl net. allows Fluxer to listen on ports 80 and 443.
--network pasta keeps each visitor's address for rate limits and bans, which Podman 5 also does by default without the flag. When you run Podman as root, leave this flag out, because pasta runs only in rootless mode.
podman run -d --name fluxer --restart always --stop-timeout 130 \ --network pasta \ --sysctl net.ipv4. ip_ unprivileged_ port_ start= 0 \ --env-file fluxer.env -v fluxer-data:/var/ lib/ fluxer \ -p 80:80 -p 443:443 -p 443:443/udp -p 7881:7881 -p 7882:7882/udp \ ghcr.io/ fluxerapp/ fluxer:2026.1124.80040Rootless Podman can publish ports 80 and 443 only when the machine's own net. is 80 or lower. Set it with sudo sysctl -w net.. To keep it after a reboot, put the same line in a new file in /etc/sysctl.d/ as well.
In proxy mode, Fluxer uses no port below 1024 and needs neither sysctl setting.
Podman has no daemon, so after a reboot podman-restart.service starts the containers that run with --restart always. As root, turn it on for the whole machine.
sudo systemctl enable podman-restartWith rootless Podman, turn it on for your account, with lingering for boot.
systemctl --user enable podman-restartsudo loginctl enable-linger $USERThe Podman guide runs Fluxer from a Quadlet file as a systemd service instead.
Day to day
Section titled "Day to day"These show the status, the logs, one part's logs, a backup and how to stop Fluxer.
docker compose exec fluxer fluxerd psdocker compose logs fluxerdocker compose exec fluxer fluxerd logs apidocker compose exec -T fluxer fluxerd backup --out - > fluxer-backup.tar.zstdocker compose stopdocker exec fluxer fluxerd psdocker logs fluxerdocker exec fluxer fluxerd logs apidocker exec fluxer fluxerd backup --out - > fluxer-backup.tar.zstdocker stop fluxerUpgrade with one command that changes only the image line of the compose file. You can also restore a backup, restart one part, invite people or move to a new machine.
Admin accounts
Section titled "Admin accounts"When nobody can sign in as an admin, make a reset link for an account or create a new admin. Each command prints a link that sets a password, and the link works once for an hour. On an email instance that sends email, users reset-link refuses, and the admin resets their password by email from the sign-in page.
docker compose exec fluxer fluxerd users reset-link alexdocker compose exec fluxer fluxerd users create alex --admindocker exec fluxer fluxerd users reset-link alexdocker exec fluxer fluxerd users create alex --adminOn an instance with email sign-in, add --email alex@example.com to users create.
Remove Fluxer
Section titled "Remove Fluxer"To keep the instance for later, take a backup first with the fluxerd backup line under Day to day, and copy fluxer-backup.tar.zst out of the Fluxer folder. Keep it somewhere safe, because it has every password and key.
docker compose down -vdocker image rm $(docker image ls -q ghcr.io/fluxerapp/fluxer) docker stop fluxerdocker rm fluxerdocker volume rm fluxer-datadocker image rm $(docker image ls -q ghcr.io/fluxerapp/fluxer) The last line removes every Fluxer image on the machine, older releases included.
Then delete the folder with fluxer.env.