Unraid AppOps Gateway
Manage a self-hosted environment: understand workloads first, then perform controlled actions with approval and audit.
Technical foundation · Python · FastAPI · React
Command Center: from intent to policy decision, preflight and audit trail — with the action registry split into blocked, approval-required and safe read-only
Screenshot 1 of 7
Evidence recorded on .Status and results describe that check; current availability may differ.
Follow-up on . The status check confirmed that the gateway reported connections to Unraid and Portainer.
At a glance
Access
No public demo
Recorded status
Live on my own server · actions only after approval
Evidence
Live on my own Unraid server as a single container with an upgrade and rollback path
Evidence date
5 August 2026
In progress or planned
Analysis and policy decisions are deliberately deterministic and rule-based. The platform can make proposals, while remediation remains bound to explicit approval and a separate execution step.
Automate more of the existing recovery path
Run more checks through background scheduling
Add further notification channels
Recorded 5 August 2026
Case narrative
The problem, approach and result.
Problem and context
A grown self-hosted environment has no overview: containers get created and forgotten, the real state drifts away from what you think you are running, and every management action happens in a different interface. Anyone who wants to automate that almost always ends up with a tool holding the Docker socket and full privileges — exactly the risk you wanted to avoid.
Solution
A gateway that periodically reads running workloads through the existing container-management API and places them in a review ledger with the states discovered, managed, ignored, changed and missing. Every possible action lives in a registry with an explicit classification: safe read-only, approval required, or blocked. Sensitive actions go through an approval flow with an expiry, and only then follows a separate, audited execution step.
Operational value
The operator can see which workloads are running and which actions are permitted. Approval, job status and audit keep a change traceable, including sensitive steps that require human review.
Key user flows
- 1
First run: connect and test container management, run discovery, review discovered apps and import or ignore them
- 2
Review the inventory: walk the review ledger, inspect drift and map items to existing applications
- 3
Open the application catalogue and check health, risk, connector binding and permitted actions per app
- 4
Command Center: state an intent and inspect the policy decision and preflight before anything happens
- 5
Approvals: assess a pending request with its reason and execution plan, and only then execute
- 6
Follow Jobs & Runs and find the result back in the audit trail
Integrations at the recorded check
- Containerbeheer-APILive
Primary discovery source: containers and stacks are read read-only and normalised into identity, image, state, ports, mounts and labels.
- Unraid-APILive
Array, disks, cache, parity, shares and virtual machines. Starting, resuming and pausing a VM is allowed; stopping, restarting and resetting stay blocked.
- Docker-socketPlanned
Deliberately not connected: the default deployment does not mount the socket, does not run privileged and does not use host networking.
- Reverse proxy & identityproviderLive
Read-only insight into proxy hosts, certificates, access lists and authentication coverage. Changes to those systems are explicitly blocked.
- Media- en downloadconnectorenFunctional
A set of app-specific connectors with a small number of permitted actions; deletes and bulk edits are refused everywhere.
- Home AssistantLive
Notification channel and a voice path behind a separate bearer token, with an exportable configuration instead of a key embedded in the browser.
Reliability and safety boundaries
No Docker socket, no privileged container and no host networking by default
Destructive actions such as stopping containers, deleting volumes or formatting disks are hard-blocked and cannot be loosened
Every mutation requires an operator token; anonymous mutations get an immediate 401
Approvals follow a strict state machine, and an approval on its own never mutates an external system
Connector secrets are stored encrypted in the local database; the API only reports whether a secret exists
Redaction is applied to logs, audit metadata and discovered container metadata; environment variables are never stored
When a source fails the screen still loads partially and states explicitly what is missing
Validation
Almost four hundred backend tests covering connectors, security boundaries, secret storage, discovery, approvals and deployment
More than seventy frontend test files, including mobile and tablet regression tests
A single verify chain that runs type checking, lint, frontend tests, production build and the backend tests together
Separate validation scripts for the live deployment, the exposure check and the operator boundary
Design decisions
Read first: know what is running before being allowed to change anything
No Docker socket in the gateway; container management goes through an existing API
Destructive operations stay out of scope until a separate policy, approval, audit and rollback design exists
AI analyses and plans, but never mutates infrastructure autonomously
Unsupported actions return an honest “not supported” instead of a simulated success
Not intended to face the internet directly; the gateway belongs behind network controls
Current limitations
AppOps Gateway is a private administration environment for one trusted operator on a protected network. Public access and multi-tenant use are outside the current project scope.
Key lesson
Infrastructure automation only becomes safe once you first separate knowing, proposing and executing. By classifying every action up front and decoupling approval from execution, the dangerous half of the system simply stays shut — even when an AI component gets something wrong.
