Files
Michael Sloan 028c71e5a9 Add a Private Community Apps template for the Fluxer stack.
Unraid Apps installs one container, so the template supervises the official compose bundle instead of pretending Fluxer is a single image.
2026-11-23 21:47:54 -05:00

56 lines
5.0 KiB
XML

<?xml version="1.0"?>
<Container version="2">
<Name>fluxer-stack</Name>
<Overview>Self-hosted Fluxer chat for Unraid. This app is the supervisor. It clones the installer, downloads Fluxer's official compose bundle, and starts the stack. Chat is served to your existing proxy on port 18080. Voice uses TCP 7881 and UDP 7882.</Overview>
<Description><![CDATA[
Fluxer chat on Unraid, using the official Docker Compose bundle.
This Community Apps entry is one supervisor container named fluxer-stack. On start it clones the installer, writes stack/.env, and runs the Fluxer stack on the host Docker engine. The database, uploads, and search index are stored under /mnt/user/appdata/fluxer, not in docker.img.
After Apply, watch the fluxer-stack log until it says Fluxer is up. Then open the setup token:
awk -F= '$1=="FLUXER_SETUP_TOKEN"{print $2}' /mnt/user/appdata/fluxer-selfhost/stack/.env
Open https://your-domain, enter that token, and create the admin account. Copy stack/.env somewhere safe. The Postgres password, Meilisearch key, and VAPID keys cannot be changed after the first start.
Point Nginx Proxy Manager at http://YOUR_UNRAID_IP:18080 with WebSockets on. Paste unraid/npm-advanced.conf from the repo into the proxy host Advanced tab. Forward TCP 7881 and UDP 7882 from the router for voice.
Stopping this container stops the Fluxer stack. Starting it brings the stack back. The other fluxer-* containers are created by Compose. Leave them alone.
Set FLUXER_MODE to direct only when ports 80 and 443 on Unraid are free and DNS already points at this machine.
The official public Community Apps catalog only indexes GitHub. This template is installed into Apps, Private, on your server.
]]></Description>
<Category>Network:Messenger</Category>
<Icon>https://git.masengr.com/Michael-A-Sloan/Fluxer-selfhost-unraid/raw/main/unraid/icon.svg</Icon>
<WebUI>http://[IP]:18080/</WebUI>
<TemplateURL>https://git.masengr.com/Michael-A-Sloan/Fluxer-selfhost-unraid/raw/main/unraid/fluxer.xml</TemplateURL>
<Project>https://git.masengr.com/Michael-A-Sloan/Fluxer-selfhost-unraid</Project>
<Registry>https://hub.docker.com/_/docker</Registry>
<Repository>docker:28-cli</Repository>
<Network>bridge</Network>
<MyIP/>
<Shell>sh</Shell>
<Privileged>false</Privileged>
<Support>https://git.masengr.com/Michael-A-Sloan/Fluxer-selfhost-unraid</Support>
<Requires>Host Docker socket. The supervisor uses it to run the Fluxer compose stack.</Requires>
<ExtraParams>--entrypoint /bin/sh</ExtraParams>
<PostArgs>-c 'apk add --no-cache bash git curl openssl coreutils &amp;&amp; curl -fsSL https://git.masengr.com/Michael-A-Sloan/Fluxer-selfhost-unraid/raw/main/scripts/ca-bootstrap.sh -o /tmp/ca-bootstrap.sh &amp;&amp; bash /tmp/ca-bootstrap.sh'</PostArgs>
<CPUset/>
<DateInstalled/>
<DonateText/>
<RequiresFile/>
<TailscaleEnabled>false</TailscaleEnabled>
<TailscaleIsExitNode>false</TailscaleIsExitNode>
<TailscaleHostname/>
<TailscaleExtraArgs/>
<TailscaleUserspaceNetworking>false</TailscaleUserspaceNetworking>
<Config Name="Hostname" Target="FLUXER_DOMAIN" Default="" Mode="" Description="Required. The hostname people use, such as chat.example.com. No https:// and no path." Type="Variable" Display="always" Required="true" Mask="false"/>
<Config Name="Edge mode" Target="FLUXER_MODE" Default="proxy" Mode="" Description="proxy: plain HTTP on port 18080 for Nginx Proxy Manager, SWAG, or Traefik. direct: Fluxer's own HTTPS on ports 80 and 443." Type="Variable" Display="always" Required="true" Mask="false">proxy</Config>
<Config Name="Fluxer data" Target="/mnt/user/appdata/fluxer" Default="/mnt/user/appdata/fluxer" Mode="rw" Description="Database, uploads, and search. Keep this on a cache-only path. Container path must stay the same as the host path." Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/fluxer</Config>
<Config Name="Installer files" Target="/mnt/user/appdata/fluxer-selfhost" Default="/mnt/user/appdata/fluxer-selfhost" Mode="rw" Description="Clone of this repo and the generated stack/.env. Container path must stay the same as the host path." Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/fluxer-selfhost</Config>
<Config Name="Docker socket" Target="/var/run/docker.sock" Default="/var/run/docker.sock" Mode="rw" Description="Required so the supervisor can start the Fluxer stack on Unraid's Docker engine." Type="Path" Display="advanced" Required="true" Mask="false">/var/run/docker.sock</Config>
<Config Name="Data path variable" Target="FLUXER_APPDATA" Default="/mnt/user/appdata/fluxer" Mode="" Description="Must match the Fluxer data host path above." Type="Variable" Display="advanced" Required="true" Mask="false">/mnt/user/appdata/fluxer</Config>
<Config Name="Installer path variable" Target="FLUXER_REPO" Default="/mnt/user/appdata/fluxer-selfhost" Mode="" Description="Must match the installer files host path above." Type="Variable" Display="advanced" Required="true" Mask="false">/mnt/user/appdata/fluxer-selfhost</Config>
</Container>