Skip to main content

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

CommandDescriptionDocs
startStart dependencies + flow services with health checksView
stopStop flow services (leaves dependencies running)--
restartRestart flow services--
statusShow container status, health, and resource usageView
logsFollow logs in real-time (tail 100 lines)--
healthRun comprehensive health checks on all endpoints--

Options

OptionApplies toDescription
--buildstart, restartRebuild images from ../symphony-flow source
--with-traefikstart, restartEnsure Traefik is running for external routing
--service NAMElogsFilter to api, worker, or scheduled

Managed Services

ServiceContainerPort
Symphony Flow APIsymphonycore_symphony_flow_api3002
Symphony Flow Workersymphonycore_symphony_flow_worker--
Scheduled Workersymphonycore_symphony_flow_scheduled_worker--
PostgreSQLsymphonycore_postgres5432
Redissymphonycore_redis6379
Traefik (optional)symphonycore_traefik80/443

Other Scripts

ScriptDescription
backup-manager.batDatabase and volume backup (daily, weekly, verify, cleanup)
database-manager.batPostgreSQL container management (start, stop, connect)

Prerequisites

  • Docker Desktop with Docker Compose
  • Bash shell (Git Bash on Windows)
  • ../symphony-flow source directory (for --build)