Skip to main content
Commands for the box Mangrove runs on. Everything here needs sudo or root.

The service

Restarting Mangrove doesn’t affect running apps.

Files

Apps

Every app container is named mangrove-<deployment-slug>-<service>-<run>:
Prefer the dashboard, CLI or TUI for anything that changes state. Mangrove treats its database as the truth, so a container removed by hand isn’t noticed until that deployment is next deployed or restarted.

Caddy

Each app’s port appears as a server named srv_<port>; verified custom domains share srv_public. Don’t reload or restart Caddy unless you’re ready to restart every deployment afterwards. Reloading drops every route Mangrove pushed. See Going to production.

Disk

Images and build cache are pruned every 6 hours. To free space now:
Then Admin → Image / build cache pruning in the dashboard, which never removes an image a deployment is using or could roll back to.

Memory slices

Backup from the box

This needs the sqlite3 CLI. mangrovectl backup does the same through the API and is usually easier. See Backups and restore.