Concepts
How organizations, projects, environments and services organize and isolate what you run.
wtree Cloud organizes resources in four levels. Knowing them tells you where variables, access and servers are scoped.
Organization → Project → Environment → Service| Level | What it is | Holds |
|---|---|---|
| Organization | Top-level tenant | Members, servers, registries, SSH keys, certificates, backup storage, global settings |
| Project | Logical group of related work, such as a product, client or team | Environments, shared variables |
| Environment | Isolation layer inside a project, such as production or staging | Services, shared variables |
| Service | A running workload | Domains, variables, deployments, logs, metrics |
Organizations
Each instance starts with one default organization, and the user who installs wtree Cloud is its Owner. On a self-hosted instance that user is also the instance owner, the only one who can create more organizations. They can transfer ownership.
Switch organizations from the selector at the top of the sidebar. Owners and admins click Add organization there. An organization has:
| Field | Notes |
|---|---|
| Name | Required |
| Logo | An image URL, or an upload of JPG, PNG, WebP or SVG up to 2 MB. JPG, PNG and WebP are resized to at most 256×256 and stored as WebP. SVG is sanitized. Without a logo the wtree Cloud logo shows |
You can't delete the last organization you own. Members have the role Owner, Admin or Member.
Projects
A project groups related services and is the main unit of access control: you can give a member access to specific projects without exposing the rest. Projects have shared variables that every service inside inherits.
Create one from Projects with Create project. Typical splits are one project per product, per client (agencies) or per team.
Environments
Every project starts with a default environment, and you can add more, such as production, staging or feature-x. Services in different environments are isolated from each other. Never run staging and production services in the same environment.
Variable precedence
Variables are inherited downward and the most specific level wins:
- Service variables
- Environment variables
- Project variables
For example, a project sets DATABASE_HOST=db.internal and the production environment overrides it with db-prod.internal. A service in production gets db-prod.internal, a service in staging gets db.internal. See Environment variables.
Services
| Type | Use it for | Examples |
|---|---|---|
| Application | Your code from Git, a Docker image or dropped files | Next.js app, Go API, Python worker |
| Database | Managed database instances | PostgreSQL, MySQL, MariaDB, MongoDB, Redis, libSQL |
| Docker Compose | Multi-container stacks from a compose file | WordPress with MySQL, an ELK stack |
Each service has its own domains, variables, deployment history with rollbacks, logs and metrics. Databases also have backups. Read more in Applications, Compose and Databases.
Organization pages
The Dashboard and the sidebar list resources across all projects.
| Page | Shows | Filters |
|---|---|---|
| Dashboard | Every application, Compose service and database | Project, type, status, server (including the wtree Cloud server) |
| Projects | Every project with its services | Filter by name, sort |
| Domains | Every domain on any service, with DNS providers and Certificates tabs | Project, status (enabled or disabled), SSL (HTTPS or HTTP only), port |
| Backups | Database and volume backup runs with date, service, destination, kind and status, with a Storage tab for destinations | Destination, service |
| Deployments | Application and Compose deployments, plus the Queue of waiting or running jobs | Status (Running, Done, Error, Cancelled), type, name, project, environment, server |
The Backups page needs permission to read both backups and volume backups. Domains and Deployments need permission to read domains and deployments. See Builds and queue for the queue.
Access control
Owners have full control. Admins have full control except managing other admins and the owner. Members get configurable permissions scoped to specific projects and environments, per resource type. See Permissions and Access.
Grant the minimum each person needs, put shared secrets at project level, and review access when roles change.
