Add a Compose Manager Plus git stack for Fluxer.
The official bundle and the Unraid override live in the repository, and secrets stay in the stack .env outside the clone.
This commit is contained in:
1 parent
a19983df7b
commit
6d105355f4
20 files changed
+4805
-13
No files matched your search
@@ -30,26 +30,39 @@ docker compose version
|
||||
|
||||
You want 2.24 or newer.
|
||||
|
||||
## Install the plugin
|
||||
## Install with Compose Manager Plus
|
||||
|
||||
This is the same kind of install as a Settings-page plugin. It is not listed in the public Apps catalog until that catalog accepts the repository. The plugin URL works now.
|
||||
Install **Compose Manager Plus** from Apps first. Fluxer is a git stack in that plugin. Start, stop, logs, and updates are the Compose page, not a separate Settings plugin.
|
||||
|
||||
1. Install Docker Compose 2.24 or newer. Unraid 7 includes it. On older Unraid, install Compose Manager from Apps.
|
||||
2. Open **Plugins → Install Plugin**.
|
||||
3. Paste this URL and install:
|
||||
1. Open **Docker → Compose** (or **Compose** in the header).
|
||||
2. Click **Add New Stack**.
|
||||
3. Name the stack `fluxer`.
|
||||
4. Choose **Git repository**.
|
||||
5. Repository: `https://git.masengr.com/Michael-A-Sloan/Fluxer-selfhost-unraid.git`
|
||||
6. Branch: `main`
|
||||
7. Compose file: `compose/docker-compose.yml`
|
||||
8. Create the stack. Do not deploy yet.
|
||||
|
||||
```text
|
||||
https://git.masengr.com/Michael-A-Sloan/Fluxer-selfhost-unraid/raw/main/fluxer.plg
|
||||
Then, on the Unraid terminal, generate the secrets into the stack's own `.env`. That file stays outside the git clone, which is where Compose Manager Plus keeps secrets.
|
||||
|
||||
```bash
|
||||
git clone https://git.masengr.com/Michael-A-Sloan/Fluxer-selfhost-unraid.git /tmp/fluxer-env
|
||||
bash /tmp/fluxer-env/scripts/init-compose-env.sh chat.example.com
|
||||
```
|
||||
|
||||
4. Open **Settings → Fluxer**.
|
||||
5. Enter your hostname. Leave mode on **proxy** when Nginx Proxy Manager, SWAG, or Traefik already uses ports 80 and 443.
|
||||
6. Click **Start**. The first image download takes several minutes. Refresh the page to read the log.
|
||||
7. Click **Show token**, open the site, and create the admin account.
|
||||
Replace `chat.example.com` with your hostname. The script writes `/boot/config/plugins/compose.manager/projects/fluxer/.env` when that stack folder already exists. Copy that file somewhere safe. The Postgres password, Meilisearch key, and VAPID keys cannot be changed after the first start.
|
||||
|
||||
Proxy mode serves Fluxer at `http://YOUR_UNRAID_IP:18080`. Point the proxy at that address and use [unraid/npm-advanced.conf](unraid/npm-advanced.conf). Forward TCP 7881 and UDP 7882 for voice. **Stop** stops the stack and keeps the data. Removing the plugin also keeps `/mnt/user/appdata/fluxer`.
|
||||
Back in **Docker → Compose**, open the `fluxer` stack and choose **Pull and Redeploy**. The first image download takes several minutes.
|
||||
|
||||
Copy `/mnt/user/appdata/fluxer/stack/.env` somewhere safe after the first start. The Postgres password, Meilisearch key, and VAPID keys cannot be changed after Fluxer has created its data.
|
||||
The web UI is `http://YOUR_UNRAID_IP:18080`. Point Nginx Proxy Manager, SWAG, or Traefik at that address and use [unraid/npm-advanced.conf](unraid/npm-advanced.conf). Forward TCP 7881 and UDP 7882 for voice. Data is stored under `/mnt/user/appdata/fluxer`, not in `docker.img`.
|
||||
|
||||
Show the admin token with:
|
||||
|
||||
```bash
|
||||
awk -F= '$1=="FLUXER_SETUP_TOKEN"{print $2}' /boot/config/plugins/compose.manager/projects/fluxer/.env
|
||||
```
|
||||
|
||||
Later updates are **Pull and Redeploy** on that same stack. Do not put secrets in the git repository. Compose Manager Plus will stop a deploy if the clone has local edits.
|
||||
|
||||
## Install from Community Apps Private
|
||||
|
||||
|
||||
Reference in new issue
Block a user