Fluxer is an open-source chat platform inspired by Discord (AGPL-3.0). You can create communities with text channels, roles, and permissions, send direct messages, share files, images, and emojis, and search older messages. Fluxer runs as a web app in your browser, can be installed on your smartphone like an app, and is entirely yours: accounts, messages, and uploads are stored on your own server.
In this guide, we'll show you two ways to get started: the easy way, using the One-Click App to run Fluxer with HTTPS at your own address, and a manual installation with Docker Compose. After that, you'll set up your admin account, invite people, and build your first community.
Fluxer is the right choice if:
- You want a Discord-like chat for your group without a third-party provider, for example for a clan, club, open-source project, or company.
- You want to decide who can join. New accounts can only be created through your invite links, and you decide on the rules, moderation, and retention.
- You want to keep the data in your own hands. Messages, files, and accounts are stored on your VPS, not on a platform that can change its terms at any time.
- Your people are familiar with Discord. Fluxer calls servers “communities,” and the layout and interface, with channels, roles, and direct messages, will feel familiar.
Fluxer is less suitable if you mainly need voice channels and want to use the One-Click App: voice and video chat aren't included there (see below). For voice-only communication, a TeamSpeak server is a better fit; for team chat with integrations for developer tools, try Mattermost. Fluxer is also a young project with frequent releases, so plan for regular updates.
The fastest way to get Fluxer is through your VPS's One-Click Apps. With a domain, the app is immediately accessible over HTTPS. You don't need a reverse proxy, certificate, or firewall rules.
- A Linux VPS (Debian or Ubuntu) with One-Click Apps set up. See Setting up One-Click Apps for instructions.
- Enough resources to run Fluxer. The App catalog shows the minimum requirements on the app card; a VPS that's too small can't be selected for Fluxer. For an active community with lots of uploads, plan for more memory and disk space.
- Open your VPS in the ZapX dashboard and go to the One-Click Apps tab.
- Search for Fluxer in the App catalog and click Install app.
- Use a custom subdomain or zap.cloud is already selected. Leave this option enabled and enter a name, for example
chat. Choose the address carefully: passkeys your users create later will only work for this exact address. - You don't need to fill in anything under App configuration. ZapX generates the setup token during installation, and Fluxer creates all other passwords and keys on first startup.
- Click Queue installation. The first startup takes a few minutes because the VPS downloads the Fluxer image and Fluxer creates its database. After that, the app card shows the app as online.
The first time you open Fluxer, a setup wizard starts. To prevent someone else from setting up your instance, it first asks for the setup token. The app card points this out in the Setup notice. You can find the token in the app settings (gear icon), under App environment > Automatically generated values, as SERVICE_PASSWORD_64_SETUPTOKEN. Click the eye icon to show it, or the icon next to it to copy it.
The labels in the following steps are from the English interface. Fluxer displays the wizard in your browser's language. You can change the language on the first page under “Language.”
- Open the app's Access link and click “Get started.”
- In the “Enter your setup token” step, paste the token you copied and click “Continue.” You don't need the console command shown by the wizard with the One-Click App.
- Under “How will people sign in?”, choose how people will sign in: “With a username” or “With an email address.” If you haven't set up email delivery, choose usernames. You can't change this choice later.
- Under “Create your account,” create your admin account with a username and a strong password.
- Under “Save your recovery kit,” click “Create recovery kit,” confirm with your password, and save the kit using “Download PDF” or “Copy.” You can only continue after doing this.
- In the following steps, give your instance a name and set its appearance, communities, direct messages, and other features. You can change all of these later in the admin area.
- Under “Who can create an account?”, leave “Only people you invite” selected. This ensures that new accounts can only be created through your invite links.
- Review the summary under “Check your choices” and click “Finish setup.”
The setup token is only valid until your admin account is created. However, the invitation-only restriction doesn't take effect until you click “Finish setup.” So complete the wizard from start to finish in one go. Without your recovery kit and password, you won't be able to access your account if you sign in with a username, so keep the kit somewhere safe, such as in your password manager.
In the “Should old attachments be deleted to save disk space?” step, “Yes, delete old attachments” is selected by default. Small files are then kept for about three years, while very large files are kept for only 14 days. To keep all attachments, select “No, keep everything.” You can change the limits later in the admin area.
After you click “Finish setup,” Fluxer displays “Fluxer is ready.” You can manage your instance at /admin on your address, for example https://chat.example.com/admin, using your admin account.
The One-Click App doesn't include voice and video chat. Fluxer requires its own media ports directly on the server (7881/TCP and 7882/UDP), which aren't accessible through the One-Click Apps setup. Text channels, direct messages, files, and search work fully. If you need voice channels, use the manual installation below.
If you create a voice channel in a new community, no one can connect to it in the One-Click App. Delete it in the community settings so no one tries to join it in vain.
To check whether a new version is available, go to the app settings (gear icon), then App update > Check for updates. To install a new version, click Apply update. Before starting a newer version, Fluxer creates a backup and then updates its database. The app also creates a daily backup in the app's data directory and keeps the last seven.
Older installations still use the previous setup with multiple containers and don't have a setup token. App update doesn't offer an update for them because the app setup has changed. The app will continue running unchanged, and your accounts and messages will be preserved.
Automatic backups are stored in the app's data directory on the same VPS, not in another location. Create a snapshot of your VPS before major changes and on a regular basis. If you uninstall the app along with its data, all messages, accounts, and files will be gone.
If you want to set up Fluxer yourself from the console, for example because you need voice and video chat, follow the steps in this section. Fluxer runs in a single container that the developers provide for Docker.
- A VPS with 64-bit Linux, such as Debian 12 or Ubuntu 24.04, and root access over SSH. See First access over SSH for instructions on connecting.
- Docker Engine version 24 or later with the Compose plugin. See Installing Docker for instructions.
- A domain or subdomain with an
Arecord pointing to your VPS's IPv4 address, for examplechat.example.com. Passkeys won't work without a domain.
| Resource | Minimum | Recommended |
|---|---|---|
| CPU | 2 vCores | 4 vCores |
| Memory | 2 GB | 4 GB |
| Disk space | 20 GB free | More, depending on uploads |
These figures come from the official Fluxer documentation for a single-container installation. Uploads will take up most of the space over time, and the search index and backups will grow as well.
Fluxer needs ports 80 and 443 open to the internet for the web app, and ports 7881/TCP and 7882/UDP for voice and video chat. Use ufw to open only these ports and SSH:
ufw allow OpenSSH
ufw allow 80/tcp
ufw allow 443/tcp
ufw allow 7881/tcp
ufw allow 7882/udp
ufw enable
Ports published by Docker are accessible even if ufw doesn't allow them. That's why, in the next step, you'll bind the Fluxer web app only to 127.0.0.1 and let nginx accept external connections in front of it.
The developers publish a ready-to-use compose.yaml and a settings file called fluxer.env for each release. Download both to a dedicated directory:
mkdir -p /opt/fluxer && cd /opt/fluxer
url=https://github.com/fluxerapp/fluxer/releases/latest/download
curl -fLO "$url/compose.yaml"
curl -fLO "$url/fluxer.env"
Open fluxer.env and enter your domain without https://. Since nginx handles HTTPS in front of Fluxer, enable proxy mode:
FLUXER_DOMAIN=chat.example.com
FLUXER_EDGE_MODE=proxy
FLUXER_EDGE_TRUSTED_PROXIES=private_ranges
FLUXER_PUBLIC_PORT=443
FLUXER_EDGE_TRUSTED_PROXIES makes Fluxer use the real IP addresses of your visitors from the information provided by nginx. nginx reaches the container over the internal Docker network, so the private_ranges value covers the private address ranges. Separate multiple ranges with spaces, not commas.
Next, update the ports in compose.yaml. Instead of publishing ports 80 and 443, expose the web app only locally. Keep the two media ports for voice and video open:
services:
fluxer:
image: ghcr.io/fluxerapp/fluxer:2026.1130.3209
restart: unless-stopped
stop_grace_period: 130s
env_file: fluxer.env
environment:
FLUXER_INSTALL_METHOD: compose
ports:
- "127.0.0.1:8080:8080"
- "7881:7881"
- "7882:7882/udp"
volumes:
- fluxer-data:/var/lib/fluxer
volumes:
fluxer-data:
name: fluxer-data
The key lines:
imageis pinned to a specific release. The version number is the release date. Use the number from the downloaded file.stop_grace_period: 130sgives the built-in database time to shut down cleanly. Leave this value as is.- The
fluxer-datavolume contains everything: the database, uploads, search index, certificates, passwords, and keys.
Start Fluxer:
docker compose up -d
docker compose ps
The first startup takes one to two minutes as Fluxer creates its database, passwords, and keys. After that, docker compose ps shows the healthy status.
If you don't need voice and video chat, also set FLUXER_LIVEKIT_ENABLED=false in fluxer.env and remove ports 7881 and 7882 from compose.yaml and the firewall.
Until the first admin account is created, Fluxer protects the setup wizard with a setup token. Display it with:
docker compose exec fluxer fluxerd setup-token
First set up the reverse proxy from the next section. Then open https://chat.example.com and enter the token in the wizard. Complete the wizard through to “Finish setup,” as described in the easy setup, and leave “Only people you invite” selected under “Who can create an account?”.
nginx accepts connections on port 443 and forwards them to Fluxer at 127.0.0.1:8080. See Setting up a reverse proxy and SSL certificate with Certbot for instructions on setting up nginx and a Let's Encrypt certificate. The server block for Fluxer looks like this:
map $http_upgrade $fluxer_connection_upgrade {
default upgrade;
'' close;
}
server {
listen 443 ssl;
server_name chat.example.com;
ssl_certificate /etc/letsencrypt/live/chat.example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/chat.example.com/privkey.pem;
client_max_body_size 512m;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $fluxer_connection_upgrade;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
proxy_request_buffering off;
proxy_buffering off;
}
}
You need the Upgrade lines and long timeouts for the WebSocket connection that delivers new messages in real time. client_max_body_size determines the maximum file size nginx allows through for uploads.
With Caddy, you only need two lines: chat.example.com { reverse_proxy 127.0.0.1:8080 }. Caddy gets the certificate itself and forwards WebSockets automatically.
Fluxer creates a backup as a single file containing the database, uploads, search index, settings, and the instance's passwords and keys:
cd /opt/fluxer
docker compose exec -T fluxer fluxerd backup --out - > fluxer-$(date +%F).tar.zst
While Fluxer copies the uploads and search index, the web app briefly displays a maintenance page. Then copy the backup to another computer or storage location. A backup on the same VPS won't help if the server fails.
Fluxer doesn't check for new versions automatically. You can find new releases on the project's release page. To update, enter the new version number in the image line of compose.yaml and restart:
cd /opt/fluxer
docker compose pull && docker compose up -d
Before starting a newer version, Fluxer backs up the database, passwords, and keys itself, then updates the database. You don't need to install intermediate versions. Never stop the container with docker rm -f; this stops the database without a clean shutdown.
After setup, your instance is empty and closed to new members. Here's how to bring it to life.
Fluxer has two types of invite links:
- Account invitation: This lets someone create an account on your instance. Only admins can create these. Open
/admin, go to Configuration > Instance Config, and use Create Admin-Issued Registration URL in the Registration Controls section. Set a label, validity period in days, and usage limit. You can also choose a community for new members to join automatically. - Community invitation: This lets someone with an existing account join a community. Create one in the app from the community menu using Invite members.
New members usually need both types. If you attach a community to the account invitation, you can take care of both in one step. Under Registration Policy in the same section, choose whether people can register only by invitation, after approval, or not at all.
A community is the equivalent of a Discord server. You can create categories and text channels in it, assign roles with permissions, and decide who can view, write in, or moderate channels. A clan or club usually needs just one community with a few channels. For a project with multiple teams, you can create a separate community for each team.
With username sign-in, no one needs an email address. If someone forgets their password, they can use their recovery kit. With email address sign-in, Fluxer sends confirmations and password reset links. To enable this, set up SMTP access, for example with the FLUXER_EMAIL_DELIVERY=smtp and FLUXER_EMAIL_SMTP_HOST entries in fluxer.env. You choose the sign-in method once in the wizard and can't change it afterward.
- Voice and video chat are available only with the manual installation and open ports 7881/TCP and 7882/UDP, not with the One-Click App.
- Notifications are delivered through the browser or the web app installed on a smartphone. For the Fluxer apps from app stores, Fluxer requires its developers' push relay. Enable it in the wizard under “Send notifications to the Fluxer mobile apps?” or later in the admin area, and accept its privacy notice.
- Changing domains: If you change the address later, existing passkeys will no longer work. People will need to sign in with their password and set up their passkeys again.
- Moderation is handled by admins in the admin area at
/admin, where user reports are also received.
You now have your own Discord-like chat for your community with Fluxer, and you decide who joins and where the data is stored. Next, Set Up Mumble Server on a Linux Server shows you how to run your own low-latency voice server for your conversations.
If you have any other questions or need help, our support team is available every day! 🙂
