Reference
pier dev
Run the current environment locally (docker)
pier dev <command>Run the current environment locally (docker).
Subcommands
pier dev up
pier dev up [flags]Run the current environment locally (default).
| Flag | Value | Default | Description |
|---|---|---|---|
--dry-run | Print the materialization plan and generated compose file; run nothing | ||
--watch | Watch build contexts and rebuild/restart apps on change | ||
--only | APP,... | Run only these apps | |
--pull-secrets | Reveal secret values from the server (required for protected environments) | ||
--no-pull-secrets | Never reveal secrets; missing ones error unless --allow-missing | ||
--allow-missing | Run even when required secrets have no value (vars are absent) | ||
--build | Rebuild app images even when the build context is unchanged | ||
--no-build | Never build; fail if an app image is missing | ||
--keep-others | Leave other environments' running dev stacks alone (default: their apps stop) |
pier dev status
pier dev statusShow this project's local dev stacks across environments.
pier dev stop
pier dev stopStop the current environment's local stack (data kept).
pier dev reset
pier dev reset [flags]Destroy local dev stack(s): containers, volumes, generated files.
| Flag | Value | Default | Description |
|---|---|---|---|
--all | Reset every environment's dev stack for this project | ||
-y, --yes | Skip confirmation prompt |
pier dev logs
pier dev logs [<app>]Follow the local stack's logs.
| Argument | Required | Description |
|---|---|---|
<app> | no | Limit to one app |
Global flags apply to every command.