Build and deploy
Environments
Partly availableAn environment is one copy of a project, such as production or staging.
Part of this page describes things that are designed but not built yet. Those parts are marked.
Each environment has its own services, its own configuration and its own deployments. What you do in staging does not touch production.
Creating an environment
Open a project and create an environment. A new project has none, so this is the first thing to do. The name is unique within the project; production and staging are the usual two.
The environment's network
The services of one environment that run on the same server share a private network. One service reaches another by its name: a service called api listening on port 8000 is http://api:8000 to its neighbours, or api.internal. Services of other environments cannot reach it.
Production environments
Tick This is a production environment for the one real users reach. It is shown with a Prod mark in the dashboard.
Planned: changes to a production environment will need approval before they go out. Today the mark is only a label.
Services and environments
A service belongs to exactly one environment. The web service in staging and the web service in production are two services with the same name, each with its own definition and its own history.