Projects
A project holds one app: its services, and their variables, deployments and domains. It belongs to one organization, and each member reaches it with an access level that comes from their role or from a grant on that project.
What a project holds
| Part | What it is |
|---|---|
| Services | What runs: each one from a Docker image or a Git repository, on the servers you choose. See Services. |
| Environment | Every project is made with production; a project admin adds more beside it, such as staging. Each service lives in one environment, with that environment's variables. |
| Variables | Set on the whole project, on its environment, or on one service. See Variables. |
| Deployments | Each service's history of rollouts. See Deployments. |
| Domains | The opnl.app addresses and your own domains that reach its public services. See Domains. |
Name and slug
A project's name is 1 to 60 characters. OpenPanel makes a slug from it: lowercase letters, digits and hyphens, at most 40 characters, so My Shop! becomes my-shop. When another project in the organization already has that slug, the new one gets -2, then -3, and so on.
The slug is part of the opnl.app address each new public service gets, such as web-my-shop-4zj7.opnl.app, and the CLI finds a project by its slug or its name. Renaming a project changes its slug; addresses made before keep their names.
Who can see and change it
Each member has one of three levels on a project: view, deploy or admin. Their role sets the level on every project that the whole organization sees:
| Role | Level on the organization's projects |
|---|---|
| Owner | admin, on every project, private ones included |
| Admin | admin |
| Can deploy | deploy |
| Can view | view |
An owner or admin of a project can give one member their own level on it, higher or lower than their role's, or none to hide it from them. See Per-project access.
A project is either seen by the whole organization or private. A private project has no level from roles: only the members given access reach it, and the owner always does. The person who creates a project, or makes it private, gets admin on it. See Private projects.
| What you can do | view | deploy | admin |
|---|---|---|---|
| See the project, its services, deployments, domains and variables (a secret's value stays hidden) | ✓ | ✓ | ✓ |
| Add services and change their settings, add volumes, deploy and roll back | – | ✓ | ✓ |
| Set and delete variables, and export a service's variables with their values | – | ✓ | ✓ |
| Add and remove domains | – | ✓ | ✓ |
| Delete a service, or remove a volume | – | – | ✓ |
| Rename the project, make it private or not, and set members' access to it | – | – | ✓ |
| Delete the project | – | – | ✓ |
To create a project you need the role Owner, Admin or Can deploy. An API key acts as the person who made it, capped by its own scope, and a key limited to some projects cannot create one.
A project you cannot reach answers as "not found", the same as one that does not exist, so its name does not leak.
On your servers
On each server, a project's services share their own Docker network, and nothing else joins it: a service reaches another service of the same project on the same server by its name, such as http://api:3000, and never sees other projects' containers. Docker networks do not span servers, so a service on another server is not reached this way.
Deleting a project
Deleting a project deletes its services with their volumes, variables, deployments and domains, and tells its servers to stop its containers. It needs admin on the project. The data in its volumes is not wiped from the servers; see Volumes. See also Create and manage a project.