Remote management
The simpledeploy CLI doubles as a remote client. Configure server contexts, then use pull, diff, and sync to keep local compose files in sync with one or more servers.
Contexts
Section titled “Contexts”Manage remote server connections.
# Add a contextsimpledeploy context add production --url https://manage.example.com --api-key sd_...
# Switch contextsimpledeploy context use staging
# List contexts (* = active)simpledeploy context listContexts live in ~/.simpledeploy/config.yaml.
simpledeploy pull
Section titled “simpledeploy pull”Export remote app config to local files.
simpledeploy pull --app myapp -o ./simpledeploy pull --all -o ./apps/Downloads compose files from the remote server.
simpledeploy diff
Section titled “simpledeploy diff”Compare local config vs remote state.
simpledeploy diff --app myappsimpledeploy diff -d ./apps/Shows line-by-line differences between local compose files and remote.
simpledeploy sync
Section titled “simpledeploy sync”Sync a local directory to the remote server.
simpledeploy sync -d ./apps/Deploys new/changed apps and removes apps not present locally.
Workflow
Section titled “Workflow”A typical GitOps-ish workflow:
simpledeploy pull --all -o ./apps/to seed a local directory- Commit
./apps/to a Git repo - Edit compose files locally,
simpledeploy diff -d ./apps/to preview simpledeploy sync -d ./apps/to apply
For CI-driven deploys, see GitHub Actions integration.