Add an Unraid installer for a self-hosted Fluxer instance.

The official compose bundle stores uploads in Docker volumes and expects a proxy on loopback, which does not fit Unraid docker.img or a containerized reverse proxy.
This commit is contained in:
Michael Sloan committed 2026-11-23 21:41:31 -05:00
commit 1f6c4c0c39
9 files changed
+881

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
# Re-download the official Fluxer compose bundle and recreate containers.
# Keeps stack/.env and the data directories. Make a backup first.
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
STACK="${FLUXER_STACK:-$ROOT/stack}"
if [[ ! -f "$STACK/.env" ]]; then
echo "No $STACK/.env yet. Run scripts/prepare-unraid.sh first." >&2
exit 1
fi
DOMAIN="$(awk -F= '$1=="FLUXER_DOMAIN" { print substr($0, index($0, "=") + 1); exit }' "$STACK/.env")"
if [[ -z "$DOMAIN" ]]; then
echo "FLUXER_DOMAIN is empty in $STACK/.env" >&2
exit 1
fi
echo "Updating the bundle for $DOMAIN. Existing .env choices are left in place."
echo "Stop here and run scripts/backup-unraid.sh first if you have not backed up."
exec sh "$ROOT/scripts/prepare-unraid.sh" "$DOMAIN" --update "$@"