Self-hostingPlatforms
CapRover
Short version
Section titled "Short version"A CapRover server with a root domain and HTTPS turned on. Create an app with persistent data, deploy the Fluxer image, set three environment variables and publish the voice ports.
It takes about 15 minutes.
What this changes
Section titled "What this changes"- One CapRover app called
fluxer, a Docker Swarm service with one container. - One persistent directory for
/var/lib/fluxer. - CapRover's nginx in front, sending your domain to port 8080 of the app.
- Ports 7881 on TCP and 7882 on UDP for voice, published on the server itself.
Before you start
Section titled "Before you start"Check the requirements. CapRover's nginx uses ports 80 and 443 and gets the certificate, so Fluxer runs in proxy mode behind it.
Install
Section titled "Install"-
Create an app called
fluxer, with "Has Persistent Data" ticked. -
Under App Configs, add the variables and the persistent directory.
- The environment variables
FLUXER_DOMAINset tochat.example.com,FLUXER_EDGE_MODEset toproxyandFLUXER_UPGRADE_COMMANDset toIn CapRover, deploy the image ghcr.io/. The last one is the upgrade step the admin panel shows for a newer release. The panel only learns about new releases after you have turned on the daily release check.fluxerapp/ fluxer: {version} - A persistent directory with the path in app
/var/lib/fluxerand the labelfluxer-data. Fluxer keeps all of its data in that directory.
Leave the port mapping form empty, and paste this into "Service Update Override".
Service Update Override TaskTemplate:ContainerSpec:StopGracePeriod: 130000000000EndpointSpec:Ports:- Protocol: tcpTargetPort: 7881PublishedPort: 7881PublishMode: host- Protocol: udpTargetPort: 7882PublishedPort: 7882PublishMode: hostIt gives Fluxer 130 seconds to stop, where Swarm's default of 10 seconds is too short for PostgreSQL. It also publishes the voice ports on the server itself, past Swarm's routing mesh, and calls see each person's real address.
docker service inspect srv-captain--fluxershows both of these settings after you save. - The environment variables
-
Under HTTP Settings, set the container HTTP port to 8080, turn on WebSocket support, connect your own domain and enable HTTPS for it.
CapRover's nginx limits the size of uploads. Set
client_max_body_sizeto512min the app's nginx config. Your domain then opens with a valid certificate. -
Under Deployment, deploy this image.
ghcr.io/fluxerapp/ fluxer:2026.1124.80040 The first start takes a few minutes, then CapRover shows the app as running.
To upgrade later, deploy the image again with the new version as its tag.
-
Print the setup token on the server.
docker exec $(docker ps -q -f name=srv-captain--fluxer) fluxerd setup-tokenOpen your domain and paste the token to create the first admin account.