UseDocumentation Index
Fetch the complete documentation index at: https://docs.argalabs.com/llms.txt
Use this file to discover all available pages before exploring further.
.arga/sandbox.yml or .arga/sandbox.yaml to tell Arga how to deploy a repository branch into a sandbox. This is especially useful for monorepos where the app Dockerfile is not at the repository root.
Arga reads the file during sandbox and PR-run planning. The selected target controls the Docker build context, Dockerfile path, app port, optional start command, runtime environment variables, and extra twins to provision.
Single-app repo
For a repository with one deployable app:Monorepo
For a monorepo, define named targets and choose the default target:default_target is omitted, Arga uses the first target in the file.
Fields
| Field | Required | Description |
|---|---|---|
context_dir | No | Repository-relative Docker build context. Defaults to .. |
dockerfile_path | No | Repository-relative Dockerfile path. Defaults to Dockerfile. |
app_port | No | Port exposed by the app container. Defaults to the sandbox app port. |
app_command | No | Command override for the app container. Use this when the image default command is not enough. |
env | No | Runtime environment variables added to the deployed app. Values are scoped to the sandbox run. |
twins | No | Additional twins to provision with the sandbox, such as postgres, stripe, or slack. |
How Arga applies it
- Arga fetches
.arga/sandbox.ymlor.arga/sandbox.yamlfrom the branch being deployed. - It selects
default_target, or the first target if no default is set. - It stores the selected target on the run runtime profile.
- The deploy builder uses the target’s
context_diranddockerfile_path. - The sandbox runtime applies the target’s
app_port,app_command,env, andtwins.

