When you deploy a workspace from a template, Rigbox often provisions backing services alongside your app. These are infrastructure components like PostgreSQL, Redis, and RabbitMQ that your apps depend on to function. You do not need to install, start, or stop these services manually. Rigbox manages them for you. This guide covers how to monitor their health and understand how they connect to your apps.Documentation Index
Fetch the complete documentation index at: https://docs.rigbox.dev/llms.txt
Use this file to discover all available pages before exploring further.
What Are Workspace Services?
Workspace services are infrastructure processes that run inside your workspace and support one or more apps. Common examples include:| Service | Role |
|---|---|
| PostgreSQL | Relational database for persistent storage |
| Redis | In-memory cache and pub/sub messaging |
| RabbitMQ | Message broker for background job queues |
Not every workspace has backing services. If you created a workspace from the base image or a template that does not define services, the infrastructure bar will not appear.
Health Monitoring
Each service has a health command that Rigbox runs periodically to check whether the service is responsive. The results appear in real time on the workspace dashboard.Service Statuses
| Status | Meaning |
|---|---|
| Installing | The service is being set up for the first time. This happens during initial workspace provisioning. |
| Healthy | The health check passed. The service is running and responsive. |
| Unhealthy | The health check failed. The service may have crashed, run out of memory, or encountered a configuration error. |
Viewing Services in the Dashboard
Open your workspace detail page. The infrastructure bar appears at the top of the Overview tab, showing each service with its current health status. You can see at a glance whether everything is running smoothly or if something needs attention.App Dependencies
Apps can declare which services they depend on using thedepends_on field. This creates a dependency tree that the dashboard visualizes, so you can see exactly which services power which apps.
For example, a Firecrawl app might depend on PostgreSQL, Redis, and RabbitMQ. If one of those services goes unhealthy, you know immediately which apps are affected.
Listing Services via the API
Use the services endpoint to retrieve all backing services for a workspace along with their current health status.Managed Automatically
Workspace services are fully managed by Rigbox. When you start a workspace, the services start with it. When you stop the workspace, they shut down gracefully. You do not need to run any commands to keep them running.Next Steps
- Workspaces - workspace lifecycle, resizing, and environment variables
- Firecrawl - a template that uses PostgreSQL, Redis, and RabbitMQ as workspace services
- Expose Ports & Route Apps - make services accessible at
*.rigbox.dev