Wattle Cloud/DocsDashboard
All docs

Apps and builds

How apps are built and run, their settings, variables, and wattle.toml.

Builds

Running

Variables

Config as code: wattle.toml

A wattle.toml in the app's root directory sets its build and deploy settings at each deploy, from GitHub or wattle up:

[build]
builder = "railpack"          # or "dockerfile"
dockerfilePath = "Dockerfile"
buildCommand = "npm run build"
watchPaths = ["apps/web/**"]

[deploy]
startCommand = "npm start"
preDeployCommand = "npx prisma migrate deploy"
healthcheckPath = "/health"
cronSchedule = "0 3 * * *"

A mistake in the file, such as an unknown key, fails the build with the reason, and wattle up refuses it before sending anything.

Logs and alerts

Logs shows what the app printed, live, and searches the last 7 days; Metrics shows CPU, memory and network. Owners and admins get an email when a deploy fails or an app crashes, and Settings, Webhooks in your workspace sends the same to Discord, Slack or your own endpoint.