~/projects/temporal-standalone
Temporal running at home: server, custom UI with overlays, Casdoor OIDC and the rules for running orchestration in your own lab.

Why run it at home
There is no point studying workflow orchestration without running an orchestrator. temporal-standalone came from wanting a Temporal that runs the way the cloud does (isolated namespaces, API keys) without starting one server per project in the lab. The repository is public: one docker compose up starts the server, the UI, Casdoor and PostgreSQL.
It is the kind of project that comes out of the learning system: study Temporal from the inside, then build a real environment. Running it, the real limits show up, along with bugs that only appear once the system is up and customizations that do not exist upstream. All of that becomes a skill.
The architecture
Custom UI: submodule and overlays
The temporalio/ui repo comes in as a git submodule at ui-custom/upstream/, and the customizations live in ui-custom/overlays/ with the same folder layout. A git pull in the submodule updates upstream without touching the customizations.
docker compose build temporal-ui && docker compose up -d temporal-uiAPI keys
The overlays' main feature is an API key system, with three endpoints (list, create and delete at /api/v1/api-keys). Keys are JWTs signed with HS256, and the middleware tells three kinds of token apart:
The fixed rules
Running Temporal locally has rules the agent always follows:
- Never use temporalio/auto-setup: it reruns the schema migration on every restart and can corrupt the database.
- Never touch the schema by hand: always through temporal-sql-tool.
- The temporal-server container has no CLI. Admin operations use temporal-setup (admin-tools).
- Dynamic config only accepts official Temporal keys: check the docs before adding one.
- Any change to the overlays needs a UI rebuild.
A server version upgrade always means a schema migration, in the right order and without skipping versions:
docker run --rm --network temporal-network \
-e DB=postgres12 -e DB_PORT=5432 -e POSTGRES_SEEDS=postgresql \
-e DBNAME=temporal ... \
temporalio/admin-tools:latest \
temporal-sql-tool update-schema -d /etc/temporal/schema/postgresql/v12/temporal/versionedStandalone Activities
Temporal 1.31 brought Standalone Activities in public preview: running an Activity straight from the client, with no Workflow around it. It is handy for one-off scripts, maintenance and testing an Activity from the CLI without setting up a whole workflow.
The detail that only shows up when you run it: it is turned on through dynamic config, per namespace, not through gRPC. The standaloneActivities field in DescribeNamespace is computed from the config at query time.
# config/temporal/dynamicconfig/docker.yaml
activity.enableStandalone:
- value: true
constraints:
namespace: "default"Agent-readable
The whole project is documented as a skill, in the format of the Agentic Workflow Blueprint. An orchestrator classifies the task and sends it to the right workflow. Need an upgrade? It loads server-upgrade. A UI rebuild? ui-rebuild. Never the whole structure.
| Workflow | What for |
|---|---|
enable-feature | namespace capabilities |
fix-api-keys | persistence, JWT and auth |
server-upgrade | upgrade and schema migration |
ui-rebuild | rebuild after overlay changes |
namespace-ops | namespace CRUD |
The skill that leaves the lab
The skill with the most potential in this stack is Temporal orchestration for agents: cron pipelines, multi-step DAGs and retries with backoff running on top of the standalone, with no improvised setTimeout. Temporal makes sure the workflow finishes, even if the worker dies halfway. With no billing and no cloud latency, the standalone is the playground: the agent deploys, tests, breaks and fixes, all locally. A real use of it is in the onchain block scanner.
References
- devton/temporal-standalonethe compose file, the custom UI and the project skill
- temporalio/uithe upstream that comes in as a submodule
- Casdoorthe OIDC provider
- Upgrade the Temporal Serverschema migration version by version
- Dynamic configurationwhere Standalone Activities are turned on
- Standalone Activitiesan Activity with no Workflow around it
- devton/agentic-workflow-blueprintthe meta-skill, the example workflows and the runbooks
