Pier
Declare apps, Postgres, buckets, volumes and sites in pier.yaml; the pier CLI builds, deploys and runs them in microVMs
Pier runs containers. pier.yaml declares what an environment contains (apps, Postgres
instances, buckets, volumes, static sites, domains) and two commands converge the platform
to it:
pier apply # create, change and remove what is declared
pier deploy # build and roll what changed (implies apply)Every app target runs in its own microVM behind an HTTPS hostname. Postgres instances, buckets and volumes are provisioned in the same environment.
Install
The pier CLI, login, profiles
Quickstart
A container on a public hostname in five commands
Concepts
Workspace, project, environment, resource, target
CLI reference
Every command, generated from the binary
How Pier is used
| You have | Do |
|---|---|
| a container image | declare it as an app target with image: and port: (Quickstart) |
| a repository with a Dockerfile | declare an app with build_context: .; pier deploy builds it |
| a repository on GitHub | pier github connect; a push to the configured branch then deploys |
| a static site | declare a site; pier deploy www builds and publishes it |
| a script or CI job | every command takes --json and -y (Scripting) |