Skip to main content

sfm start

Overview

Starts the Symphony Flow Docker stack: ensures dependencies (PostgreSQL, Redis) are healthy, then starts the API server, background worker, and scheduled worker. Optionally rebuilds images from source or enables Traefik for external routing.

Usage

./scripts/management/symphony-flow-manager.sh start [OPTIONS]

Options

OptionDescriptionDefault
--buildRebuild images from ../symphony-flow source--
--with-traefikEnsure Traefik is running for external routing--

Prerequisites

  • Repo: symphonycore-org/sc-infrastructure
  • Dependencies: Docker Desktop with Docker Compose
  • Shell: Bash (Git Bash on Windows)
  • Source: ../symphony-flow directory required when using --build

Examples

Start with existing images

./scripts/management/symphony-flow-manager.sh start

Rebuild from source and start

./scripts/management/symphony-flow-manager.sh start --build

Start with Traefik for external access

./scripts/management/symphony-flow-manager.sh start --with-traefik

Startup Sequence

  1. Check and start PostgreSQL (wait up to 60s for healthy)
  2. Check and start Redis (wait up to 60s for healthy)
  3. Start Symphony Flow API (wait up to 90s for healthy)
  4. Start worker and scheduled worker
  5. Optionally start Traefik

Health Checks

  • API: http://localhost:3002/api/v1/health
  • Queue: http://localhost:3002/api/v1/monitoring/queue/stats
  • Traefik: http://localhost:80/api/v1/health (if enabled)