Skip to content
docs
DonateOperator Pass

Self-hostingGuides

Edit on GitHub

Several instances on one machine

Each Fluxer instance on a machine needs its own domain, data and voice ports.

Only one can have ports 80 and 443. On Docker and Kubernetes, put them all in proxy mode behind one reverse proxy, which sends each domain to its own instance. With rexctl on systemd, the first instance can send the other domains to their instances instead.

In these examples, the first instance is chat.example.com on 127.0.0.1:8080 with voice ports 7881 and 7882, and the second instance is team.example.org on 127.0.0.1:8081 with voice ports 7883 and 7884.

Give the second instance its own folder with its own compose.yaml and fluxer.env. The compose file uses the fixed volume name fluxer-data, so change it in the second folder, or both instances would share one volume.

compose.yaml
services:
fluxer:
image: ghcr.io/fluxerapp/fluxer:2026.1124.80040
restart: unless-stopped
stop_grace_period: 130s
env_file: fluxer.env
environment:
FLUXER_INSTALL_METHOD: compose
ports:
- "127.0.0.1:8081:8080"
- "7883:7883"
- "7884:7884/udp"
volumes:
- fluxer-team-data:/var/lib/fluxer
volumes:
fluxer-team-data:
name: fluxer-team-data

Keep the image line from your download. In its fluxer.env, set its domain, proxy mode and the voice ports. The voice ports inside the container must match the published ones, because the voice server tells apps which port to use.

fluxer.env
FLUXER_DOMAIN=team.example.org
FLUXER_EDGE_MODE=proxy
FLUXER_LIVEKIT_TCP_PORT=7883
FLUXER_LIVEKIT_UDP_PORT=7884

Switch the first instance to proxy mode on 127.0.0.1:8080 too. Compose gives each instance the name of its folder, so run docker compose in the folder of that instance. With docker run, use another --name and another volume for the second instance.

Your reverse proxy sends each domain to its own port. With Caddy, it looks like this.

Caddyfile
chat.example.com {
reverse_proxy 127.0.0.1:8080
}
team.example.org {
reverse_proxy 127.0.0.1:8081
}

Other proxies send each domain to its own port the same way. Open both pairs of voice ports in your firewall, one pair for each instance.