Add an Unraid plugin with a Settings page for Fluxer.

The stack can be installed from a plugin URL and started from Settings, the same shape as other Unraid plugin installers.
This commit is contained in:
Michael Sloan committed 2026-11-23 22:03:04 -05:00
1 parent 028c71e5a9
commit a19983df7b
10 files changed
+437 -9

No files matched your search

+9 -7
View File
@@ -172,17 +172,19 @@ The bundle was downloaded and read before the override was written, so the volum
- Do not commit `stack/.env`, `stack/`, or `backups/`. They hold the database keys and the admin setup token.
- If the install is later handed to `rexctl`, point `rexctl takeover` at `stack/` and keep the same project name.
## Community Apps
## Community Apps and the plugin
The Apps tab does not accept a custom repository URL. That setting was removed in Unraid 6.10. The public catalog at ca.unraid.net only scans a public GitHub repo with `ca_profile.xml`. This project lives on Gitea, so the template is installed into the server's Private list:
`https://github.com/mvandenbulcke/fluxer-unraid` is an Unraid plugin. Its `.plg` is installed from **Plugins → Install Plugin**, and the package adds **Settings → Fluxer**. Community Applications submission for that project was still pending review. A GitHub release does not by itself create an Apps search hit.
`/boot/config/plugins/community.applications/private/fluxer/fluxer.xml`
This repository now has the same install shape, aimed at the proxy setup already documented here:
Community Apps can only create one container per template. Fluxer is a compose project of about twenty containers, so the template does not pretend that `fluxer-api` alone is the product. `fluxer-stack` is `docker:28-cli` with the Docker socket mounted. Its command installs git and openssl, downloads `scripts/ca-bootstrap.sh`, clones this repo, and runs `prepare-unraid.sh` through the host engine. Paths inside the container match the host paths, because Compose sends those paths to the host daemon. Stopping the supervisor sends SIGTERM, and the script's trap runs `docker compose stop`.
- `fluxer.plg` is the package URL.
- `plugin/Fluxer.page` is the Settings page.
- `templates/fluxer.xml` and `ca_profile.xml` are the catalog files a Community Applications scan expects. The public catalog indexes GitHub. This project is on Gitea, so those files do not put it in the worldwide Apps list by themselves.
- Start and Stop call `scripts/prepare-unraid.sh` on the Unraid host. There is no Docker socket container in this path.
- The older `unraid/fluxer.xml` Docker template remains a Private Apps option.
The socket mount is root on the Docker engine. That is the trade for having Start and Stop in the Apps and Docker pages. The terminal install further down in the README does not need it.
`bash` is required for `prepare-unraid.sh`. Alpine's `sh` is not bash, so the bootstrap calls `bash` on purpose. `coreutils` is installed first so `sort -V` in the Compose version check exists.
The plugin does not copy that other project's Cloudflare Tunnel or Traefik setup. Proxy mode still binds port 18080 for the reverse proxy already running on the server.
## Publishing