Work locally
Clone the project, populate its backend environment file, and run its Docker Compose stack on your machine.
Run the project locally
Work locally hands you the managed Auth, model access, and project values your workspaces use, resolved for you, so the full stack runs on your machine without rebuilding its configuration by hand.
Before you start, you need access to the project (a project admin can add you from the project's Users tab with Add member), access to its GitHub repository, and Git and Docker Compose on your machine.
Open Work locally
Open the project in Crucible and select Work locally in the project header. The button appears once project setup completes.
Clone the repository
Copy and run the command under Clone the repository. It checks out the project's configured branch.
Create the backend environment file
Crucible names the file in its second step (Create backend/.env for the Agents template). Create that file, select Copy all, and paste the values into it. Secrets stay masked on screen until you select Reveal secrets, but Copy all always copies the real values.
Start the app
From the repository root, run the Docker Compose command under Start the app.
Reach your backend from Ciridae MCP
When the backend file includes the Ciridae MCP management key, a fourth step shows the project's tunnel host pattern, such as https://my-app--<local-stack-name>.ciridae.cloud. Expose the running backend through an HTTPS tunnel on that host, with a name for this local stack in place of <local-stack-name>, and use that URL as the local Ciridae MCP backend. Ciridae MCP calls your local backend only over HTTPS on one of these hosts. They are scoped to the project: only the part before the first -- is checked, so any developer on the project may use any of them, and a username in a host is a convention, not a verified identity.
To hand setup to an agent instead, copy the prompt under Or paste this into a local coding agent. It checks prerequisites, clones and starts the app, and asks you to paste the environment file when it is needed.
Do not commit the backend environment file. It contains live secrets for your project.
Crucible reads project.yaml from the project's configured branch (main by default) and resolves the file for you personally:
- Values: Project variables plus the values standard integrations issue, including personal ones such as your own LLM Gateway key. Auth uses the workspace auth environment (sandbox in the Agents template).
- Local policy:
workspace.runtime_env.local_developmentremovesexcluded_variables, then appliesfixed_variableslast. - File and selection:
workspace.runtime_env.services.backendnames the file and selects which variables enter it. - Ciridae MCP tunnel hosts: The part before the first
--is the project's slug, derived from the project ID as Ciridae MCP describes; the step shows the exact slug. - Compose file:
workspace.compose_filenames the Docker Compose file to run. The Agents template stack starts Postgres, backend, frontend, worker, Temporal, and Redis together. - Legacy repositories: Repositories without
project.yamlkeep the legacy local values,backend/.env, anddocker-compose.ymllayout.