Applications
Deploy and manage a single containerised app, from source to running service, with logs, domains and tuning in one workspace.
An application is one service that wtree Cloud builds from a source and runs as a single container. Each application has its own workspace with tabs for an overview, deployments, logs, metrics and settings.
When to use it
Use an application for one web app, API or worker. For several containers that belong together, use a Compose stack.
Application tabs
| Tab | What you do there |
|---|---|
| Overview | Use the Actions card to deploy, reload, rebuild, start, stop or open a terminal, and to turn on Autodeploy. The domains are listed below it. |
| Deployments | See the last 10 deployments, live build output, rollback buttons and the webhook URL. The Previews view lists preview deployments. |
| Logs | Read the output of the running container. |
| Metrics | Four live graphs: memory, CPU, disk and network. They update only while the page is open. |
| Settings | Everything you configure. See the sections below. |
The Settings tab has a menu of sections:
| Section | What you do there |
|---|---|
| Source and build | Set the source and build type, and pick a build server. |
| Domains | Attach a custom domain or a generated sslip.io domain. See Domains. |
| Environment variables | Add environment variables. Wrap a multiline value in double quotes. |
| Storage | Add volumes and mounts, and back up volumes. |
| Networking | Ports, redirects, basic auth, networks and Traefik. See Advanced settings. |
| Resources | Run command, cluster and Swarm settings, and resource limits. See Advanced settings. |
| Scheduled jobs | Run scheduled jobs. |
| File patches | Change files at build time. See File patches. |
Each new deployment creates a record that streams the build. Use the cancel button on a queued deployment, or Kill build on one that is already building.
Keyboard shortcuts
Press g, then a key, to jump to a tab or a Settings section.
| Key | Goes to |
|---|---|
g | Overview |
d | Deployments |
l | Logs |
m | Metrics |
s | Settings |
e | Settings › Environment variables |
u | Settings › Domains |
v | Settings › Storage |
a | Settings › Resources |
Browse container files
- Open Servers, choose the server and open Containers, then the actions menu of the container.
- Click Browse files.
- Navigate directories, preview and edit text files, download or delete files, or use Upload file.
Named volumes open the same way from Containers › Volumes. Files outside persistent volumes are ephemeral and can disappear after a restart or a new deployment. You need access to a server's Containers tab to use the file explorer.
