QUESTPIE Probe
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 status

Subcommands

compose up

Start all services in dependency order.

FlagDescription
--only <names>Start only these services (comma-separated)
--skip <names>Skip these services (comma-separated)
--no-healthSkip 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 worker

compose down

Stop all services in reverse dependency order.

qprobe compose down

compose restart

Restart a specific service, or all services.

qprobe compose restart server
qprobe compose restart

compose status

Show the status of all configured services.

qprobe compose status

Config 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.

On this page