Skip to Content

Apps, projects and environments

What an App, a Folder, a Project and an Environment are, and when to use each.

An App is what runs. A Folder groups apps. A Project is a folder split into Environments, each one an isolated copy of its apps. None of it is required: a flat list of apps is a normal setup.

Which one do I want

The overview with apps, folders and projects side by side
SituationUse
A handful of apps, one of everythingNothing. Leave them at the top level
"These six apps belong to the marketing site"A Folder
"Sara should manage those six and nothing else"A Folder, shared with her
"Staging and production of the same three apps"A Project with two Environments
"Every pull request should get its own copy"Pull request previews

App

What you deploy: a repository, an image, an archive or a Compose file. It has its own build settings, domains, variables, storage and deploy history, and lives in one place: the top level, a Folder, or one Environment of a Project.

Its slug is set from the name when you create it and never changes; it is part of the free address. The display name can change. For what its status means, see Deploy your first app.

Folder

A group of apps with a name, a colour and an owner. Folders can nest. Share a folder with a member to let them manage what is inside it: see Members.

Project

A folder whose apps are split per Environment. A Project never nests in another one and holds no Folders. It has no page of its own: you browse it on the Overview.

One project filtered on the overview, its environments and apps

Environment

One copy of a project's apps, with its own containers, addresses, git branch and variables. A new Project starts with Development, Preview and Production. Rename them, or add more, up to ten.

A shared variable scoped to an Environment is suggested to its apps; each app still links it.

Which apps can reach each other

Apps and managed databases reach each other by name, like db-orders:

Where the two areBy name
Same Environment, same serverYes
Both outside any project, same team, same serverYes
Same Environment, different serversNo
Different Environments, projects or teamsNo

A Folder changes nothing here. To keep apps apart, put them in different Environments.

A preview cannot reach your database

A pull request preview has its own network, so it cannot reach the managed database of its Environment. Put a database in the Compose file, or use one with a published port.

Good to know

  • Deleting a folder keeps its apps, unless you choose otherwise in the confirmation.
  • An app moved to another team leaves its folder, project and shared variables behind. See Move an app.

Something wrong? See Deploys and builds.

Did this page help you?

On this page