fix: add symlink registration for Unraid Compose Manager dashboard
This commit is contained in:
@@ -89,6 +89,17 @@ else
|
|||||||
log_success "docker-compose.yml deployed"
|
log_success "docker-compose.yml deployed"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Symlink into Unraid Compose Manager plugin so it appears on the dashboard.
|
||||||
|
# Idempotent: ln -sf overwrites existing symlink. Skipped if plugin not installed.
|
||||||
|
COMPOSE_PLUGIN_PROJECTS="/boot/config/plugins/compose.manager/projects"
|
||||||
|
if ssh_exec UNRAID "test -d '${COMPOSE_PLUGIN_PROJECTS}'"; then
|
||||||
|
ssh_exec UNRAID "mkdir -p '${COMPOSE_PLUGIN_PROJECTS}/gitea' && \
|
||||||
|
ln -sf '${DATA_PATH}/docker-compose.yml' '${COMPOSE_PLUGIN_PROJECTS}/gitea/docker-compose.yml'"
|
||||||
|
log_success "Registered with Unraid Compose Manager (dashboard symlink)"
|
||||||
|
else
|
||||||
|
log_info "Compose Manager plugin not found — skipping dashboard registration"
|
||||||
|
fi
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# Step 4: Render + SCP app.ini
|
# Step 4: Render + SCP app.ini
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user