Add Unraid Docker templates and update scripts for Fluxer.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
commit
941ba8706c
15 files changed
+596
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
*.log
|
||||||
|
config.json
|
||||||
|
.env
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
# Fluxer on Unraid
|
||||||
|
|
||||||
|
Unraid Docker templates and update scripts for the [Remix Fluxer](https://git.masengr.com/Michael-A-Sloan/fluxer) music bot.
|
||||||
|
|
||||||
|
The Fluxer source repo is a **public mirror** of GitHub. This repo is the Unraid packaging layer you own — templates, appdata layout, and rebuild steps — so you can update when the mirror syncs.
|
||||||
|
|
||||||
|
| | |
|
||||||
|
|--|--|
|
||||||
|
| Fluxer source (mirror) | https://git.masengr.com/Michael-A-Sloan/fluxer |
|
||||||
|
| This Unraid packaging | https://git.masengr.com/Michael-A-Sloan/fluxer-unraid |
|
||||||
|
| Local bot image | `fluxer-bot:latest` |
|
||||||
|
| Local NodeLink image | `fluxer-nodelink:latest` |
|
||||||
|
|
||||||
|
**Install + updates:** **[unraid/INSTALL.md](unraid/INSTALL.md)**
|
||||||
|
|
||||||
|
This is a self-hosted instance of Remix. Change the bot name and credit Remix in the profile (for example, *Powered by Remix*).
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
{
|
||||||
|
"token": "YOUR_BOT_TOKEN_HERE",
|
||||||
|
"prefix": "%",
|
||||||
|
"embedColor": "0xe9196c",
|
||||||
|
"owners": [],
|
||||||
|
"mysql": {
|
||||||
|
"host": "fluxer-mysql",
|
||||||
|
"port": 3306,
|
||||||
|
"user": "remix",
|
||||||
|
"password": "remix_pw",
|
||||||
|
"database": "remix"
|
||||||
|
},
|
||||||
|
"nodelink": {
|
||||||
|
"host": "fluxer-nodelink",
|
||||||
|
"port": 3000,
|
||||||
|
"password": "youshallnotpass",
|
||||||
|
"requestTimeout": 60000
|
||||||
|
},
|
||||||
|
"lastfm": {
|
||||||
|
"apiKey": "",
|
||||||
|
"apiSecret": "",
|
||||||
|
"scrobbleThreshold": 0.5,
|
||||||
|
"scrobbleMinMs": 240000
|
||||||
|
},
|
||||||
|
"dashboard": {
|
||||||
|
"enabled": false,
|
||||||
|
"redis": {
|
||||||
|
"url": "redis://fluxer-redis:6379"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"logging": {
|
||||||
|
"enabled": true,
|
||||||
|
"warn": true,
|
||||||
|
"player": true,
|
||||||
|
"inactivity": false,
|
||||||
|
"aloneCheck": false,
|
||||||
|
"voice247": true,
|
||||||
|
"voiceState": false,
|
||||||
|
"voice": false,
|
||||||
|
"mediaplayer": false,
|
||||||
|
"commands": true,
|
||||||
|
"guild": true,
|
||||||
|
"recovery": true,
|
||||||
|
"settings": true,
|
||||||
|
"lavalink": true,
|
||||||
|
"dashboard": false,
|
||||||
|
"redis": false
|
||||||
|
},
|
||||||
|
"timers": {
|
||||||
|
"inactivityTimeout": 180000,
|
||||||
|
"aloneCheckInterval": 30000,
|
||||||
|
"aloneCheckDebounce": 500,
|
||||||
|
"rejoin247Delay": 3000,
|
||||||
|
"leave247RejoinDelay": 5000,
|
||||||
|
"intentionalLeaveTTL": 10000
|
||||||
|
},
|
||||||
|
"presenceInterval": 30000,
|
||||||
|
"presenceContents": [],
|
||||||
|
"fluxer.js": {
|
||||||
|
"timeout": 15000,
|
||||||
|
"retries": 3
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
# Optional Unraid compose path (Compose Manager or `docker compose`).
|
||||||
|
# Prefer the Unraid XML templates if you want each container in the Docker UI.
|
||||||
|
#
|
||||||
|
# Usage on Unraid:
|
||||||
|
# cd /mnt/user/appdata/fluxer-unraid
|
||||||
|
# sh scripts/bootstrap.sh
|
||||||
|
# sh scripts/update.sh
|
||||||
|
# docker compose -f docker-compose.unraid.yml up -d
|
||||||
|
|
||||||
|
services:
|
||||||
|
fluxer-mysql:
|
||||||
|
image: mysql:8.0
|
||||||
|
container_name: fluxer-mysql
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: remix_root_pw
|
||||||
|
MYSQL_DATABASE: remix
|
||||||
|
MYSQL_USER: remix
|
||||||
|
MYSQL_PASSWORD: remix_pw
|
||||||
|
TZ: America/New_York
|
||||||
|
volumes:
|
||||||
|
- /mnt/user/appdata/fluxer/mysql:/var/lib/mysql
|
||||||
|
networks:
|
||||||
|
- fluxer-net
|
||||||
|
|
||||||
|
fluxer-redis:
|
||||||
|
image: redis:7-alpine
|
||||||
|
container_name: fluxer-redis
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- /mnt/user/appdata/fluxer/redis:/data
|
||||||
|
networks:
|
||||||
|
- fluxer-net
|
||||||
|
|
||||||
|
fluxer-nodelink:
|
||||||
|
image: fluxer-nodelink:latest
|
||||||
|
container_name: fluxer-nodelink
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
TZ: America/New_York
|
||||||
|
volumes:
|
||||||
|
- /mnt/user/appdata/fluxer/nodelink.config.json:/nodelink/config.json:ro
|
||||||
|
networks:
|
||||||
|
- fluxer-net
|
||||||
|
|
||||||
|
fluxer-bot:
|
||||||
|
image: fluxer-bot:latest
|
||||||
|
container_name: fluxer-bot
|
||||||
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
- fluxer-mysql
|
||||||
|
- fluxer-nodelink
|
||||||
|
environment:
|
||||||
|
TZ: America/New_York
|
||||||
|
volumes:
|
||||||
|
- /mnt/user/appdata/fluxer/config.json:/app/config.json
|
||||||
|
- /mnt/user/appdata/fluxer/storage:/app/storage
|
||||||
|
ports:
|
||||||
|
- "8080:80"
|
||||||
|
networks:
|
||||||
|
- fluxer-net
|
||||||
|
|
||||||
|
networks:
|
||||||
|
fluxer-net:
|
||||||
|
name: fluxer-net
|
||||||
|
external: true
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"server": {
|
||||||
|
"port": 3000,
|
||||||
|
"password": "youshallnotpass"
|
||||||
|
},
|
||||||
|
"sources": {
|
||||||
|
"youtube": true,
|
||||||
|
"ytmusic": true,
|
||||||
|
"soundcloud": true,
|
||||||
|
"deezer": true,
|
||||||
|
"spotify": true,
|
||||||
|
"http": true
|
||||||
|
},
|
||||||
|
"search": {
|
||||||
|
"defaultSource": "ytmusic",
|
||||||
|
"fallback": true
|
||||||
|
},
|
||||||
|
"audio": {
|
||||||
|
"normalization": true
|
||||||
|
},
|
||||||
|
"cache": {
|
||||||
|
"enabled": true,
|
||||||
|
"maxSize": 536870912
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
FROM node:22-bookworm-slim
|
||||||
|
|
||||||
|
WORKDIR /nodelink
|
||||||
|
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install -y --no-install-recommends ca-certificates python3 make g++ && \
|
||||||
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
|
npm init -y && \
|
||||||
|
npm install @performanc/nodelink
|
||||||
|
|
||||||
|
EXPOSE 3000
|
||||||
|
|
||||||
|
CMD ["node", "node_modules/@performanc/nodelink/index.js"]
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Prepare Unraid appdata, clone the Fluxer mirror, and write example configs.
|
||||||
|
# Does not start containers and does not overwrite an existing config.json.
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
APPDATA="${FLUXER_APPDATA:-/mnt/user/appdata/fluxer}"
|
||||||
|
SRC_DIR="${APPDATA}/src"
|
||||||
|
PACKAGING_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
||||||
|
FLUXER_REMOTE="${FLUXER_REMOTE:-https://git.masengr.com/Michael-A-Sloan/fluxer.git}"
|
||||||
|
|
||||||
|
if [[ ! -d /mnt/user/appdata ]]; then
|
||||||
|
echo "Error: /mnt/user/appdata not found. Run this on the Unraid server." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
mkdir -p "${APPDATA}/mysql" "${APPDATA}/redis" "${APPDATA}/storage"
|
||||||
|
|
||||||
|
if [[ ! -d "${SRC_DIR}/.git" ]]; then
|
||||||
|
echo "Cloning Fluxer mirror into ${SRC_DIR}"
|
||||||
|
git clone "${FLUXER_REMOTE}" "${SRC_DIR}"
|
||||||
|
else
|
||||||
|
echo "Fluxer source already present at ${SRC_DIR}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ! -f "${APPDATA}/config.json" ]]; then
|
||||||
|
cp "${PACKAGING_DIR}/config.example.json" "${APPDATA}/config.json"
|
||||||
|
echo "Wrote ${APPDATA}/config.json — edit token, owners, and passwords before starting the bot."
|
||||||
|
else
|
||||||
|
echo "Keeping existing ${APPDATA}/config.json"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ! -f "${APPDATA}/nodelink.config.json" ]]; then
|
||||||
|
cp "${PACKAGING_DIR}/nodelink.config.json" "${APPDATA}/nodelink.config.json"
|
||||||
|
echo "Wrote ${APPDATA}/nodelink.config.json"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ! -d "${APPDATA}/storage/locales" && -d "${SRC_DIR}/storage/locales" ]]; then
|
||||||
|
cp -a "${SRC_DIR}/storage/." "${APPDATA}/storage/"
|
||||||
|
echo "Copied Fluxer storage/locales into appdata"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Official Fluxer image runs as uid/gid 10001.
|
||||||
|
chown -R 10001:10001 "${APPDATA}/storage" "${APPDATA}/config.json" 2>/dev/null || true
|
||||||
|
|
||||||
|
if ! docker network inspect fluxer-net >/dev/null 2>&1; then
|
||||||
|
docker network create fluxer-net
|
||||||
|
echo "Created docker network fluxer-net"
|
||||||
|
else
|
||||||
|
echo "Docker network fluxer-net already exists"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Bootstrap done."
|
||||||
|
echo " Appdata: ${APPDATA}"
|
||||||
|
echo " Source: ${SRC_DIR}"
|
||||||
|
echo "Next: sh scripts/update.sh"
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Install / refresh Fluxer Unraid Docker templates (does not touch volumes or running data).
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
|
DEST_DIR="/boot/config/plugins/dockerMan/templates-user"
|
||||||
|
TEMPLATES=(
|
||||||
|
unraid/my-fluxer-mysql.xml
|
||||||
|
unraid/my-fluxer-redis.xml
|
||||||
|
unraid/my-fluxer-nodelink.xml
|
||||||
|
unraid/my-fluxer-bot.xml
|
||||||
|
)
|
||||||
|
|
||||||
|
if [[ ! -d "${DEST_DIR}" ]]; then
|
||||||
|
echo "Error: Unraid Docker templates folder not found: ${DEST_DIR}" >&2
|
||||||
|
echo "Run this on the Unraid server (not your PC)." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
for SRC in "${TEMPLATES[@]}"; do
|
||||||
|
if [[ ! -f "${SRC}" ]]; then
|
||||||
|
echo "Error: missing ${SRC}" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
DEST="${DEST_DIR}/$(basename "${SRC}")"
|
||||||
|
FIRST_LINE="$(head -n 1 "${SRC}")"
|
||||||
|
if [[ "${FIRST_LINE}" != '<?xml version="1.0"?>' ]]; then
|
||||||
|
echo "ERROR: ${SRC} does not start with XML." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
cp "${SRC}" "${DEST}"
|
||||||
|
echo "Installed ${DEST}"
|
||||||
|
done
|
||||||
|
|
||||||
|
if ! docker network inspect fluxer-net >/dev/null 2>&1; then
|
||||||
|
docker network create fluxer-net
|
||||||
|
echo "Created docker network fluxer-net"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Hard-refresh the Unraid Docker page (Ctrl+F5), then Add Container in this order:"
|
||||||
|
echo " 1. fluxer-mysql"
|
||||||
|
echo " 2. fluxer-redis"
|
||||||
|
echo " 3. fluxer-nodelink"
|
||||||
|
echo " 4. fluxer-bot"
|
||||||
|
echo
|
||||||
|
echo "Repository names must stay:"
|
||||||
|
echo " mysql:8.0"
|
||||||
|
echo " redis:7-alpine"
|
||||||
|
echo " fluxer-nodelink:latest"
|
||||||
|
echo " fluxer-bot:latest"
|
||||||
|
echo
|
||||||
|
echo "See unraid/INSTALL.md"
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Sync the Fluxer Gitea mirror and rebuild local Unraid images.
|
||||||
|
# Then Force update fluxer-bot / fluxer-nodelink in the Unraid Docker UI.
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
APPDATA="${FLUXER_APPDATA:-/mnt/user/appdata/fluxer}"
|
||||||
|
SRC_DIR="${APPDATA}/src"
|
||||||
|
PACKAGING_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
||||||
|
|
||||||
|
if [[ ! -d /var/run ]]; then
|
||||||
|
echo "Error: run this on the Unraid server." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ! -x "${PACKAGING_DIR}/scripts/bootstrap.sh" ]]; then
|
||||||
|
echo "Error: bootstrap.sh missing next to this script." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
sh "${PACKAGING_DIR}/scripts/bootstrap.sh"
|
||||||
|
|
||||||
|
echo "Updating fluxer-unraid packaging"
|
||||||
|
git -C "${PACKAGING_DIR}" pull --ff-only
|
||||||
|
|
||||||
|
echo "Updating Fluxer source mirror"
|
||||||
|
git -C "${SRC_DIR}" pull --ff-only
|
||||||
|
|
||||||
|
if [[ -d "${SRC_DIR}/storage/locales" ]]; then
|
||||||
|
cp -a "${SRC_DIR}/storage/locales" "${APPDATA}/storage/"
|
||||||
|
chown -R 10001:10001 "${APPDATA}/storage" 2>/dev/null || true
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Building fluxer-bot:latest"
|
||||||
|
DOCKER_BUILDKIT=1 docker build \
|
||||||
|
-f "${SRC_DIR}/docker/Dockerfile" \
|
||||||
|
-t fluxer-bot:latest \
|
||||||
|
"${SRC_DIR}"
|
||||||
|
|
||||||
|
echo "Building fluxer-nodelink:latest"
|
||||||
|
DOCKER_BUILDKIT=1 docker build \
|
||||||
|
-f "${PACKAGING_DIR}/nodelink/Dockerfile" \
|
||||||
|
-t fluxer-nodelink:latest \
|
||||||
|
"${PACKAGING_DIR}/nodelink"
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Images rebuilt:"
|
||||||
|
docker images --format 'table {{.Repository}}\t{{.Tag}}\t{{.ID}}\t{{.CreatedSince}}' | grep -E 'REPOSITORY|fluxer-bot|fluxer-nodelink' || true
|
||||||
|
echo
|
||||||
|
echo "If the containers are Unraid-managed:"
|
||||||
|
echo " Docker → fluxer-nodelink → Force update"
|
||||||
|
echo " Docker → fluxer-bot → Force update"
|
||||||
|
echo "MySQL and Redis use official Hub tags — Force update those when you want patch releases."
|
||||||
@@ -0,0 +1,109 @@
|
|||||||
|
# Unraid — Fluxer music bot
|
||||||
|
|
||||||
|
Local images: `fluxer-bot:latest` and `fluxer-nodelink:latest`
|
||||||
|
MySQL / Redis come from Docker Hub. Unraid may show **not available** for the two local images — that is expected.
|
||||||
|
|
||||||
|
You need a Fluxer bot token before the bot will stay running.
|
||||||
|
|
||||||
|
## One-time install
|
||||||
|
|
||||||
|
On the Unraid terminal:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir -p /mnt/user/appdata
|
||||||
|
cd /mnt/user/appdata
|
||||||
|
git clone https://git.masengr.com/Michael-A-Sloan/fluxer-unraid.git
|
||||||
|
cd fluxer-unraid
|
||||||
|
sh scripts/bootstrap.sh
|
||||||
|
sh scripts/update.sh
|
||||||
|
sh scripts/install-unraid-template.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
Edit the bot token (and owner IDs if you want owner commands):
|
||||||
|
|
||||||
|
```text
|
||||||
|
/mnt/user/appdata/fluxer/config.json
|
||||||
|
```
|
||||||
|
|
||||||
|
Leave the hostnames as `fluxer-mysql`, `fluxer-nodelink`, and `fluxer-redis`.
|
||||||
|
|
||||||
|
Then in Unraid:
|
||||||
|
|
||||||
|
1. Hard-refresh **Docker** (Ctrl+F5)
|
||||||
|
2. **Add Container** in this order, keeping every default path:
|
||||||
|
1. `fluxer-mysql`
|
||||||
|
2. `fluxer-redis`
|
||||||
|
3. `fluxer-nodelink`
|
||||||
|
4. `fluxer-bot`
|
||||||
|
3. Apply each one. All four must use network **fluxer-net**.
|
||||||
|
|
||||||
|
### Optional curl install (templates only)
|
||||||
|
|
||||||
|
If the packaging repo is already cloned and images are already built:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -fsSL -o /boot/config/plugins/dockerMan/templates-user/my-fluxer-mysql.xml \
|
||||||
|
"https://git.masengr.com/Michael-A-Sloan/fluxer-unraid/raw/branch/main/unraid/my-fluxer-mysql.xml"
|
||||||
|
curl -fsSL -o /boot/config/plugins/dockerMan/templates-user/my-fluxer-redis.xml \
|
||||||
|
"https://git.masengr.com/Michael-A-Sloan/fluxer-unraid/raw/branch/main/unraid/my-fluxer-redis.xml"
|
||||||
|
curl -fsSL -o /boot/config/plugins/dockerMan/templates-user/my-fluxer-nodelink.xml \
|
||||||
|
"https://git.masengr.com/Michael-A-Sloan/fluxer-unraid/raw/branch/main/unraid/my-fluxer-nodelink.xml"
|
||||||
|
curl -fsSL -o /boot/config/plugins/dockerMan/templates-user/my-fluxer-bot.xml \
|
||||||
|
"https://git.masengr.com/Michael-A-Sloan/fluxer-unraid/raw/branch/main/unraid/my-fluxer-bot.xml"
|
||||||
|
```
|
||||||
|
|
||||||
|
## Update when Fluxer changes
|
||||||
|
|
||||||
|
Gitea mirrors GitHub into [Michael-A-Sloan/fluxer](https://git.masengr.com/Michael-A-Sloan/fluxer). Sync the mirror in Gitea if it is stale, then:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd /mnt/user/appdata/fluxer-unraid
|
||||||
|
sh scripts/update.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
If the containers are Unraid-managed (not “3rd Party”):
|
||||||
|
|
||||||
|
**Docker → fluxer-nodelink → Force update**
|
||||||
|
**Docker → fluxer-bot → Force update**
|
||||||
|
|
||||||
|
Data stays in:
|
||||||
|
|
||||||
|
- `/mnt/user/appdata/fluxer/config.json`
|
||||||
|
- `/mnt/user/appdata/fluxer/storage`
|
||||||
|
- `/mnt/user/appdata/fluxer/mysql`
|
||||||
|
- `/mnt/user/appdata/fluxer/redis`
|
||||||
|
|
||||||
|
## Optional: Community Apps private list
|
||||||
|
|
||||||
|
CA Settings → add repository:
|
||||||
|
|
||||||
|
```text
|
||||||
|
https://git.masengr.com/Michael-A-Sloan/fluxer-unraid
|
||||||
|
```
|
||||||
|
|
||||||
|
You still have to run `scripts/update.sh` before the bot/NodeLink templates will start. They are local images, not Docker Hub pulls.
|
||||||
|
|
||||||
|
## Optional: compose instead of templates
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd /mnt/user/appdata/fluxer-unraid
|
||||||
|
sh scripts/bootstrap.sh
|
||||||
|
# edit /mnt/user/appdata/fluxer/config.json
|
||||||
|
sh scripts/update.sh
|
||||||
|
docker compose -f docker-compose.unraid.yml up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
Compose containers show as **3rd Party** in Unraid. Updates are `sh scripts/update.sh` then `docker compose -f docker-compose.unraid.yml up -d`.
|
||||||
|
|
||||||
|
## Appdata layout
|
||||||
|
|
||||||
|
```text
|
||||||
|
/mnt/user/appdata/fluxer-unraid/ # this repo (scripts + templates)
|
||||||
|
/mnt/user/appdata/fluxer/
|
||||||
|
src/ # cloned Gitea fluxer mirror
|
||||||
|
config.json # bot token + MySQL/NodeLink
|
||||||
|
nodelink.config.json
|
||||||
|
storage/
|
||||||
|
mysql/
|
||||||
|
redis/
|
||||||
|
```
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="Fluxer">
|
||||||
|
<rect width="64" height="64" rx="14" fill="#1b1f2a"/>
|
||||||
|
<circle cx="22" cy="44" r="8" fill="#4ea8de"/>
|
||||||
|
<circle cx="44" cy="38" r="6" fill="#4ea8de"/>
|
||||||
|
<path d="M30 44 V16 h14 v22" fill="none" stroke="#4ea8de" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 379 B |
@@ -0,0 +1,33 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<Container version="2">
|
||||||
|
<Name>fluxer-bot</Name>
|
||||||
|
<Beta>false</Beta>
|
||||||
|
<Category>MediaApp:Music</Category>
|
||||||
|
<Repository>fluxer-bot:latest</Repository>
|
||||||
|
<Registry></Registry>
|
||||||
|
<Network>fluxer-net</Network>
|
||||||
|
<MyIP/>
|
||||||
|
<Privileged>false</Privileged>
|
||||||
|
<PrivilegedReq>false</PrivilegedReq>
|
||||||
|
<ExtraParams>--restart=unless-stopped</ExtraParams>
|
||||||
|
<Shell>sh</Shell>
|
||||||
|
<Support>https://git.masengr.com/Michael-A-Sloan/fluxer-unraid</Support>
|
||||||
|
<Project>https://git.masengr.com/Michael-A-Sloan/fluxer</Project>
|
||||||
|
<Overview>Remix Fluxer music bot (YouTube, Spotify, SoundCloud, and more via NodeLink + LiveKit). Build locally on Unraid from the Gitea fluxer mirror: sh scripts/update.sh then Force update. Put your Fluxer bot token in /mnt/user/appdata/fluxer/config.json.</Overview>
|
||||||
|
<WebUI>http://[IP]:[PORT:8080]/</WebUI>
|
||||||
|
<TemplateURL>https://git.masengr.com/Michael-A-Sloan/fluxer-unraid/raw/branch/main/unraid/my-fluxer-bot.xml</TemplateURL>
|
||||||
|
<Icon>https://git.masengr.com/Michael-A-Sloan/fluxer-unraid/raw/branch/main/unraid/icon.svg</Icon>
|
||||||
|
<Requires>Create docker network fluxer-net first. Start fluxer-mysql and fluxer-nodelink first. Build image fluxer-bot:latest with scripts/update.sh. Edit config.json token before first start.</Requires>
|
||||||
|
<ReadMe>https://git.masengr.com/Michael-A-Sloan/fluxer-unraid/raw/branch/main/unraid/INSTALL.md</ReadMe>
|
||||||
|
<DonateText/>
|
||||||
|
<DonateLink/>
|
||||||
|
<PostArgs/>
|
||||||
|
<CPUset/>
|
||||||
|
<Date>1970-01-01</Date>
|
||||||
|
<Changes/>
|
||||||
|
|
||||||
|
<Config Name="Path: config.json" Target="/app/config.json" Default="/mnt/user/appdata/fluxer/config.json" Mode="rw" Description="Bot config (token, MySQL, NodeLink). Hostnames must stay fluxer-mysql / fluxer-nodelink / fluxer-redis" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/fluxer/config.json</Config>
|
||||||
|
<Config Name="Path: storage" Target="/app/storage" Default="/mnt/user/appdata/fluxer/storage" Mode="rw" Description="Locales, modules, runtime storage" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/fluxer/storage</Config>
|
||||||
|
<Config Name="Port: Web" Target="80" Default="8080" Mode="tcp" Description="Optional dashboard/health port" Type="Port" Display="always" Required="false" Mask="false">8080</Config>
|
||||||
|
<Config Name="Variable: TZ" Target="TZ" Default="America/New_York" Description="Timezone" Type="Variable" Display="always" Required="false" Mask="false">America/New_York</Config>
|
||||||
|
</Container>
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<Container version="2">
|
||||||
|
<Name>fluxer-mysql</Name>
|
||||||
|
<Beta>false</Beta>
|
||||||
|
<Category>Network:Other</Category>
|
||||||
|
<Repository>mysql:8.0</Repository>
|
||||||
|
<Registry>https://hub.docker.com/_/mysql</Registry>
|
||||||
|
<Network>fluxer-net</Network>
|
||||||
|
<MyIP/>
|
||||||
|
<Privileged>false</Privileged>
|
||||||
|
<PrivilegedReq>false</PrivilegedReq>
|
||||||
|
<ExtraParams>--restart=unless-stopped</ExtraParams>
|
||||||
|
<Shell>sh</Shell>
|
||||||
|
<Support>https://git.masengr.com/Michael-A-Sloan/fluxer-unraid</Support>
|
||||||
|
<Project>https://git.masengr.com/Michael-A-Sloan/fluxer</Project>
|
||||||
|
<Overview>MySQL 8 for Remix Fluxer guild settings, Last.fm, and track options. Use the fluxer-net network so fluxer-bot can reach host fluxer-mysql. Start this before the bot.</Overview>
|
||||||
|
<WebUI/>
|
||||||
|
<TemplateURL>https://git.masengr.com/Michael-A-Sloan/fluxer-unraid/raw/branch/main/unraid/my-fluxer-mysql.xml</TemplateURL>
|
||||||
|
<Icon>https://git.masengr.com/Michael-A-Sloan/fluxer-unraid/raw/branch/main/unraid/icon.svg</Icon>
|
||||||
|
<Requires>Create docker network fluxer-net first: docker network create fluxer-net. Keep MYSQL_* values matching /mnt/user/appdata/fluxer/config.json.</Requires>
|
||||||
|
<ReadMe>https://git.masengr.com/Michael-A-Sloan/fluxer-unraid/raw/branch/main/unraid/INSTALL.md</ReadMe>
|
||||||
|
<DonateText/>
|
||||||
|
<DonateLink/>
|
||||||
|
<PostArgs/>
|
||||||
|
<CPUset/>
|
||||||
|
<Date>1970-01-01</Date>
|
||||||
|
<Changes/>
|
||||||
|
|
||||||
|
<Config Name="Path: MySQL data" Target="/var/lib/mysql" Default="/mnt/user/appdata/fluxer/mysql" Mode="rw" Description="Persistent MySQL data" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/fluxer/mysql</Config>
|
||||||
|
<Config Name="Variable: MYSQL_DATABASE" Target="MYSQL_DATABASE" Default="remix" Description="Database name (must match config.json mysql.database)" Type="Variable" Display="always" Required="true" Mask="false">remix</Config>
|
||||||
|
<Config Name="Variable: MYSQL_USER" Target="MYSQL_USER" Default="remix" Description="App user (must match config.json mysql.user)" Type="Variable" Display="always" Required="true" Mask="false">remix</Config>
|
||||||
|
<Config Name="Variable: MYSQL_PASSWORD" Target="MYSQL_PASSWORD" Default="remix_pw" Description="App password (must match config.json mysql.password)" Type="Variable" Display="always" Required="true" Mask="true">remix_pw</Config>
|
||||||
|
<Config Name="Variable: MYSQL_ROOT_PASSWORD" Target="MYSQL_ROOT_PASSWORD" Default="remix_root_pw" Description="MySQL root password" Type="Variable" Display="always" Required="true" Mask="true">remix_root_pw</Config>
|
||||||
|
<Config Name="Variable: TZ" Target="TZ" Default="America/New_York" Description="Timezone" Type="Variable" Display="always" Required="false" Mask="false">America/New_York</Config>
|
||||||
|
</Container>
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<Container version="2">
|
||||||
|
<Name>fluxer-nodelink</Name>
|
||||||
|
<Beta>false</Beta>
|
||||||
|
<Category>MediaApp:Music</Category>
|
||||||
|
<Repository>fluxer-nodelink:latest</Repository>
|
||||||
|
<Registry></Registry>
|
||||||
|
<Network>fluxer-net</Network>
|
||||||
|
<MyIP/>
|
||||||
|
<Privileged>false</Privileged>
|
||||||
|
<PrivilegedReq>false</PrivilegedReq>
|
||||||
|
<ExtraParams>--restart=unless-stopped</ExtraParams>
|
||||||
|
<Shell>sh</Shell>
|
||||||
|
<Support>https://git.masengr.com/Michael-A-Sloan/fluxer-unraid</Support>
|
||||||
|
<Project>https://git.masengr.com/Michael-A-Sloan/fluxer</Project>
|
||||||
|
<Overview>NodeLink audio node for Remix Fluxer (search + streams). Build locally: sh scripts/update.sh. Password must match config.json nodelink.password.</Overview>
|
||||||
|
<WebUI/>
|
||||||
|
<TemplateURL>https://git.masengr.com/Michael-A-Sloan/fluxer-unraid/raw/branch/main/unraid/my-fluxer-nodelink.xml</TemplateURL>
|
||||||
|
<Icon>https://git.masengr.com/Michael-A-Sloan/fluxer-unraid/raw/branch/main/unraid/icon.svg</Icon>
|
||||||
|
<Requires>Create docker network fluxer-net first. Build image fluxer-nodelink:latest with scripts/update.sh before Apply. Start this before fluxer-bot.</Requires>
|
||||||
|
<ReadMe>https://git.masengr.com/Michael-A-Sloan/fluxer-unraid/raw/branch/main/unraid/INSTALL.md</ReadMe>
|
||||||
|
<DonateText/>
|
||||||
|
<DonateLink/>
|
||||||
|
<PostArgs/>
|
||||||
|
<CPUset/>
|
||||||
|
<Date>1970-01-01</Date>
|
||||||
|
<Changes/>
|
||||||
|
|
||||||
|
<Config Name="Path: NodeLink config" Target="/nodelink/config.json" Default="/mnt/user/appdata/fluxer/nodelink.config.json" Mode="ro" Description="NodeLink config (sources, password, cache)" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/fluxer/nodelink.config.json</Config>
|
||||||
|
<Config Name="Port: NodeLink" Target="3000" Default="3000" Mode="tcp" Description="Optional host publish; bot uses fluxer-net internally" Type="Port" Display="advanced" Required="false" Mask="false">3000</Config>
|
||||||
|
<Config Name="Variable: TZ" Target="TZ" Default="America/New_York" Description="Timezone" Type="Variable" Display="always" Required="false" Mask="false">America/New_York</Config>
|
||||||
|
</Container>
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<Container version="2">
|
||||||
|
<Name>fluxer-redis</Name>
|
||||||
|
<Beta>false</Beta>
|
||||||
|
<Category>Network:Other</Category>
|
||||||
|
<Repository>redis:7-alpine</Repository>
|
||||||
|
<Registry>https://hub.docker.com/_/redis</Registry>
|
||||||
|
<Network>fluxer-net</Network>
|
||||||
|
<MyIP/>
|
||||||
|
<Privileged>false</Privileged>
|
||||||
|
<PrivilegedReq>false</PrivilegedReq>
|
||||||
|
<ExtraParams>--restart=unless-stopped</ExtraParams>
|
||||||
|
<Shell>sh</Shell>
|
||||||
|
<Support>https://git.masengr.com/Michael-A-Sloan/fluxer-unraid</Support>
|
||||||
|
<Project>https://git.masengr.com/Michael-A-Sloan/fluxer</Project>
|
||||||
|
<Overview>Redis for the optional Remix Fluxer dashboard RPC. Keep it on fluxer-net and do not publish the port publicly.</Overview>
|
||||||
|
<WebUI/>
|
||||||
|
<TemplateURL>https://git.masengr.com/Michael-A-Sloan/fluxer-unraid/raw/branch/main/unraid/my-fluxer-redis.xml</TemplateURL>
|
||||||
|
<Icon>https://git.masengr.com/Michael-A-Sloan/fluxer-unraid/raw/branch/main/unraid/icon.svg</Icon>
|
||||||
|
<Requires>Create docker network fluxer-net first: docker network create fluxer-net. Dashboard RPC has no shared secret — keep Redis on the internal network only.</Requires>
|
||||||
|
<ReadMe>https://git.masengr.com/Michael-A-Sloan/fluxer-unraid/raw/branch/main/unraid/INSTALL.md</ReadMe>
|
||||||
|
<DonateText/>
|
||||||
|
<DonateLink/>
|
||||||
|
<PostArgs/>
|
||||||
|
<CPUset/>
|
||||||
|
<Date>1970-01-01</Date>
|
||||||
|
<Changes/>
|
||||||
|
|
||||||
|
<Config Name="Path: Redis data" Target="/data" Default="/mnt/user/appdata/fluxer/redis" Mode="rw" Description="Persistent Redis data" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/fluxer/redis</Config>
|
||||||
|
<Config Name="Variable: TZ" Target="TZ" Default="America/New_York" Description="Timezone" Type="Variable" Display="always" Required="false" Mask="false">America/New_York</Config>
|
||||||
|
</Container>
|
||||||
Reference in new issue
Block a user