Commands
qprobe compose
Start and stop your full dev stack from qprobe.config.ts with dependency ordering.
qprobe compose
Manage your full development stack defined in qprobe.config.ts. Services start in dependency order with health checks.
qprobe compose up [options]
qprobe compose down
qprobe compose restart [name]
qprobe compose statusSubcommands
compose up
Start all services in dependency order.
| Flag | Description |
|---|---|
--only <names> | Start only these services (comma-separated) |
--skip <names> | Skip these services (comma-separated) |
--no-health | Skip health checks after starting |
# Start everything
qprobe compose up
# Start only server and its dependencies
qprobe compose up --only server
# Start everything except the worker
qprobe compose up --skip workercompose down
Stop all services in reverse dependency order.
qprobe compose downcompose restart
Restart a specific service, or all services.
qprobe compose restart server
qprobe compose restartcompose status
Show the status of all configured services.
qprobe compose statusConfig Example
import { defineConfig } from '@questpie/probe'
export default defineConfig({
services: {
db: {
cmd: 'docker compose up postgres',
ready: 'ready to accept connections',
health: 'http://localhost:5432',
stop: 'docker compose down postgres',
},
server: {
cmd: 'bun dev',
ready: 'ready on http://localhost:3000',
port: 3000,
health: '/api/health',
depends: ['db'],
},
worker: {
cmd: 'bun run jobs',
ready: 'worker started',
depends: ['db', 'server'],
},
},
})Services start in topological order based on depends. In this example: db first, then server, then worker.