sw-agent-dokku
sw-agent-dokku
The sw-agent-dokku command scaffolds, deploys, and manages SignalWire agent
projects on Dokku. It generates Dokku-ready project structures with Procfile,
runtime configuration, health checks, and optional GitHub Actions CI/CD workflows.
Commands
Create a new Dokku-ready agent project.
name
Project/app name. Used as the Dokku app name and directory name.
--cicd
Include GitHub Actions CI/CD workflows for automated deployment on push and preview environments for pull requests.
--web
Include a web interface with static file serving at the root route. Adds WebRTC calling support with dynamic token generation.
--host
Dokku server hostname. If provided, configures the git remote during init.
--dir
Parent directory for the project.
--force, -f
Overwrite an existing directory.
Generated Structure
When --web is specified, the project includes a web/ directory with static
files and WebRTC calling support. When --cicd is specified, a .github/workflows/
directory is added with deployment and preview environment workflows.
Deploy the current directory to Dokku via git push.
--app, -a
App name on the Dokku server. Auto-detected from the git remote if not specified.
--host, -H
Dokku server hostname.
View application logs from Dokku.
--app, -a
App name.
--host, -H
Dokku server hostname.
--tail, -t
Tail logs in real time.
--num, -n
Number of log lines to display.
Manage environment variables on the Dokku app.
config_action
Config action. Valid values:
"show"— Display all config variables"set"— Set one or more variables (KEY=value)"unset"— Remove one or more variables
vars
Variables in KEY=value format (for set) or variable names (for unset).
--app, -a
App name.
--host, -H
Dokku server hostname.
Scale Dokku process types.
scale_args
Scale arguments in process=count format (e.g., web=2).
--app, -a
App name.
--host, -H
Dokku server hostname.