Self-hostingPlatforms
Coolify
Short version
Section titled "Short version"A server managed by Coolify 4, with its Traefik or Caddy proxy, and a domain that points at it. Add a Docker Compose resource from the file below, set the domain on the fluxer service and deploy. It takes about 15 minutes.
What this changes
Section titled "What this changes"- One Docker Compose resource, one container, and a volume for
/var/lib/fluxer. - A route in Coolify's proxy from your domain to port 8080 of the container.
- Ports 7881 on TCP and 7882 on UDP for voice.
Before you start
Section titled "Before you start"Check the requirements.
Coolify's proxy uses ports 80 and 443 and gets the certificate, so Fluxer runs in proxy mode. Open ports 7881 and 7882 in the firewall in front of the server, so that calls work.
Install
Section titled "Install"-
In your project, choose New Resource, then "Docker Compose Empty", and paste this.
compose.yaml services:fluxer:image: ghcr.io/fluxerapp/ fluxer:2026.1124.80040 restart: unless-stoppedstop_grace_ 130speriod: environment:FLUXER_DOMAIN: ${SERVICE_FQDN_ FLUXER_8080} FLUXER_EDGE_ proxyMODE: FLUXER_UPGRADE_ "In Coolify, set the image tag to {version} and deploy again"COMMAND: FLUXER_BACKUP_ dailySCHEDULE: ports:- "7881:7881"- "7882:7882/udp" volumes:- fluxer-data:/var/ lib/ fluxer volumes:fluxer-data: -
Set the domain of the
fluxerservice tohttps://chat.example.com:8080.Coolify routes your domain to port 8080 of the container. It also passes the domain to Fluxer as
FLUXER_DOMAIN, withouthttps://or a port.Coolify's proxy connects from a private Docker address, and Fluxer trusts it.
-
Deploy.
After a few minutes, Coolify shows the resource as running and healthy.
-
Open the terminal of the
fluxercontainer in Coolify and print the setup token.fluxerd setup-tokenOpen your domain and paste the token to create the first admin account.
Upgrade and back up
Section titled "Upgrade and back up"To upgrade, change the tag on the image line to the new version and deploy again. The FLUXER_UPGRADE_COMMAND line makes the admin panel show this step, with the new version filled in, when a new release is out and you have turned on the daily release check.
Coolify's own scheduled database backups don't include Fluxer, because PostgreSQL runs inside the Fluxer container. With FLUXER_BACKUP_SCHEDULE: daily in the compose file, Fluxer writes a backup into /var/lib/fluxer/backups in its volume every day. Copy those archives off the server, for example to another machine with rsync.