Quickstart: QNAP Container Station
The same stacks on a QNAP NAS — single apps from a Container Station template registry, whole stacks as Applications with the settings filled in.
On this page
QNAP's Container Station 3 can't read the app-template registry
that Portainer and Dockhand use: its custom templates hold one container each,
with no Compose and no form for settings, and its Applications read no .env
file. So the QNAP registry comes in two halves.
- App templates, for the apps that run on their own — one container, no database server. Add one URL to Container Station and deploy them from its template list.
- Stack files, for everything else. Each stack's compose file with every setting written in, ready to paste in as an Application.
Both put each app's data under the Container shared folder, in a folder
named after it, so it is easy to find and back up.
App templates #
The registry is one URL:
https://cubicecho.com/qnap/templates.json
- In Container Station, open Preferences → App Templates, turn on Enable custom template, paste the URL, and Apply.
- In File Station, create the folders the app uses (below).
- Open App Templates → Custom Templates, pick an app and Deploy. In
the wizard, replace any
CHANGE_ME_value and check the folder mappings before you create it.
| app | port | folders under Container/ |
|---|---|---|
| heautou | 3000 | heautou/data |
| mcp-actual | 3101 | mcp-actual/data |
| mcp-ragdown | 3102 | mcp-ragdown/notes, mcp-ragdown/data |
| llm-router | 3201 | llm-router/data |
| task-server | 3204 | task-server/data |
mcp-router is not in this list: since 3.0 it needs a Postgres. Run it from the AI, piecemeal stack below, or on its own from its QNAP files.
An empty token is generated on first start and printed to the container's log.
heautou needs ISSUER_URL set to this NAS's address, such as
http://192.168.1.10:3000/oidc; open it within ten minutes of first start to
create the admin account.
Stacks as Applications #
Each stack from the other guides has a QNAP version, with every setting
written in and anything you must choose left as a CHANGE_ME_ value:
| stack | file | guide |
|---|---|---|
| Cubic Echo: personal cloud | personal-cloud.yml | read |
| Cubic Echo: MCP servers | mcp.yml | read |
| Cubic Echo: AI, all in one | ai-router.yml | read |
| Cubic Echo: AI, piecemeal | ai-piecemeal.yml | read |
- Open the stack's file. The comment at the top lists every
CHANGE_ME_value in it, and any folder to create in File Station first. - In Container Station, Applications → Create, give it a name, and paste the file in.
- Replace each
CHANGE_ME_value — the same name means the same value, so replace every copy of it. Generate secrets withopenssl rand -hex 32;CHANGE_ME_PUBLIC_HOSTis the NAS's address on your network. - Validate YAML, then Create.
To change a setting later, edit the Application's YAML and recreate it. The stack's guide explains each one.
Things to know #
- Ports: every app has its own port, the same as in the other guides, and
none of them is QTS's own
8080. If one is taken on your NAS, change the left-hand number of itsports:entry. - Every stack creates its databases with an inline
configs:block, which needs a recent Docker Compose. If Validate YAML rejects it, update Container Station. - mcp-skills-manager moved from the app templates to the
mcp stack, because version 5 needs a Postgres. Coming from
the app template, follow Upgrading to 5 with
its folder,
/share/Container/mcp-skills-manager/data, in place of the volume: back it up, remove the old container, and give the folder to uid 1000. In the stack file, changeskills-data:/datato/share/Container/mcp-skills-manager/data:/data, and delete any service you don't want, such as a mcp-ragdown you already run on its own. - Not yet tried on a NAS. The files follow QNAP's documented format and mcp-router's QNAP files, but this registry hasn't been deployed on QNAP hardware yet. If something doesn't work, open an issue.