Install Domain
Compartment uses one install-level base domain for:
console.<baseDomain>- hosted app routes under
*.<baseDomain>
There are two main domain models:
- managed-domain install: the broker allocates the base domain and Caddy obtains the wildcard certificate on the customer host;
- operator-owned install domain: you stage, verify, and activate the install domain yourself.
In the default managed mode, compartment install asks the managed-domain broker to allocate this install domain automatically.
Stage an operator-owned domain
Section titled “Stage an operator-owned domain”sudo compartment system domain set --base-domain customer.example.com --tls external --public-scheme httpssudo compartment system domain verifysudo compartment system domain activatesudo compartment system domain statusUse --tls custom-cert when you will attach your own certificate material.
Browser login and hosted-app access require HTTPS public URLs because Compartment uses host-bound secure cookies for platform sessions. Legacy HTTP runtime domain settings remain readable so operators can migrate them to HTTPS.
Activation restarts the self-hosted runtime. For registry image sources, Compartment verifies runtime image signatures with the bundled CLI verifier before starting containers.
Return to the managed domain
Section titled “Return to the managed domain”sudo compartment system domain reset-managedThat reuses the managed-domain metadata already stored by the install. It does not allocate a new broker domain. The reset also restarts the runtime and uses the same registry signature verification as other runtime restarts.
Next steps:
- Read System Operations.
- Read Custom Domains for Apps.