sc-infrastructure CLI
Repo: symphonycore-org/sc-infrastructure (private) Type: Docker Compose services + Bash scripts Language: Bash, Docker Compose
Core infrastructure repository managing 30+ Docker containers for Symphony Core services. The primary CLI tool is symphony-flow-manager.sh which manages the Symphony Flow application stack.
symphony-flow-manager
Shell script for managing the Symphony Flow Docker stack (API, worker, scheduled worker) and its dependencies (PostgreSQL, Redis).
Location: scripts/management/symphony-flow-manager.sh
| Command | Description | Docs |
|---|---|---|
start | Start dependencies + flow services with health checks | View |
stop | Stop flow services (leaves dependencies running) | -- |
restart | Restart flow services | -- |
status | Show container status, health, and resource usage | View |
logs | Follow logs in real-time (tail 100 lines) | -- |
health | Run comprehensive health checks on all endpoints | -- |
Options
| Option | Applies to | Description |
|---|---|---|
--build | start, restart | Rebuild images from ../symphony-flow source |
--with-traefik | start, restart | Ensure Traefik is running for external routing |
--service NAME | logs | Filter to api, worker, or scheduled |
Managed Services
| Service | Container | Port |
|---|---|---|
| Symphony Flow API | symphonycore_symphony_flow_api | 3002 |
| Symphony Flow Worker | symphonycore_symphony_flow_worker | -- |
| Scheduled Worker | symphonycore_symphony_flow_scheduled_worker | -- |
| PostgreSQL | symphonycore_postgres | 5432 |
| Redis | symphonycore_redis | 6379 |
| Traefik (optional) | symphonycore_traefik | 80/443 |
Other Scripts
| Script | Description |
|---|---|
backup-manager.bat | Database and volume backup (daily, weekly, verify, cleanup) |
database-manager.bat | PostgreSQL container management (start, stop, connect) |
Prerequisites
- Docker Desktop with Docker Compose
- Bash shell (Git Bash on Windows)
../symphony-flowsource directory (for--build)