Projects and App URLs
Compartment derives the canonical project slug from compartment.yml, but it also keeps a remote project record for lifecycle and routing state.
How the app URL is formed
Section titled “How the app URL is formed”Compartment derives the canonical host from the project name, environment, service, and install base domain:
- primary
webservice inproduction:<project>.<baseDomain> - primary
webservice outsideproduction:<project>-<environment>.<baseDomain> - non-
webservice inproduction:<service>-<project>.<baseDomain> - non-
webservice outsideproduction:<service>-<project>-<environment>.<baseDomain>
This is the default route family before you add any custom domains.
Use:
compartment project listcompartment project showcompartment project renamecompartment project archive --yescompartment project unarchivecompartment project delete --project <slug> --yesproject list is the best overview command when you want to see active project state and the currently reported route URL.
Open the browser control plane at /. Compartment redirects from that landing page into the selected organization’s Projects page, which stays the main browser table for project inspection and navigation.
Project pages are scoped by organization in the browser URL. For example, the Projects page for the acme-dev organization is /orgs/acme-dev/projects, and the project overview for billing is /orgs/acme-dev/projects/billing.
The Projects table exposes live public routes from each row’s actions menu. When a project has one route, the menu item is Open. When it has multiple routes, choose the specific environment and service target from the menu.
Project Overview opens on the environment that currently has the live route when that differs from the default environment. Use the environment tabs to switch scope. The Deployments action in that screen is scoped to the currently selected environment and opens run history for that environment.
That run history stays environment-scoped. Use Details to inspect one deployment run, or Rollback on a historical succeeded run when you want to restore that recorded project rollout.
If app access requires authentication, opening a browser app URL sends you through the control-plane login flow first and then returns you to the original app path.
On the active Projects page, Compartment also refreshes the visible project lifecycle and status fields automatically. Use the browser view when you want a live operator overview while deploy, start, stop, archive, or unarchive actions are still settling.
Project-scoped commands usually resolve the default project from the current repository descriptor. project archive and project delete are the destructive exceptions and require explicit --yes confirmation. project delete also requires an explicit --project <slug> target.
Compartment also ships project runtime commands:
compartment project startcompartment project stopNext steps:
- Read Deployment Lifecycle.
- Read Custom Domains for Apps.
- Browse the generated project command reference.