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
| Option | Description | Default |
|---|---|---|
--build | Rebuild images from ../symphony-flow source | -- |
--with-traefik | Ensure 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-flowdirectory 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
- Check and start PostgreSQL (wait up to 60s for healthy)
- Check and start Redis (wait up to 60s for healthy)
- Start Symphony Flow API (wait up to 90s for healthy)
- Start worker and scheduled worker
- 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)