v0.7.4 Star
Operations

CLI reference

The dockyrd binary is both the server and its admin tool. Run commands as root on the server.

Commands

CommandWhat it does
dockyrd serveStarts the server. systemd runs this for you.
dockyrd initFirst-time setup: keys, database, network, proxy. Safe to rerun.
dockyrd setup-tokenPrints a new one-time setup link, as long as no owner exists.
dockyrd admin reset-password <email>Resets a user's password from the server.
dockyrd admin disable-2fa <email>Turns off two-factor for a locked-out user.
dockyrd update [--version]Installs the latest or a specific release.
dockyrd doctorChecks Docker, ports, DNS, disk, proxy config and clock, and suggests fixes.
dockyrd proxy dumpPrints the Caddy configuration currently loaded.
dockyrd backupWrites a snapshot of the control-plane database.
dockyrd versionPrints version, commit and build date.

API client (dy)

Installed next to dockyrd for tokens and CI. Log in with an API token from Settings → Account → API tokens, then run deploy and log commands from SSH or scripts.

CommandWhat it does
dy login <url> <token>Saves panel URL and API token under ~/.config/dy.
dy whoamiPrints the authenticated user.
dy services <project-id>Lists services in a project.
dy deploy <service-id>Triggers a new deployment.
dy logs <service-id> [runtime|access] [tail]Fetches recent logs.

Files and paths

PathContents
/usr/local/bin/dockyrdServer binary (dockyrd serve, …)
/usr/local/bin/dyAPI client for tokens and automation
/etc/dockyrd/Master key and optional dockyrd.env
/var/lib/dockyrd/dockyrd.dbControl-plane database (SQLite)
/var/lib/dockyrd/backups/Daily snapshots, seven kept
/var/lib/dockyrd/sites/Static site releases

Logs go to journald: journalctl -u dockyrd -f.

Edit this page on GitHubApache-2.0 licensed
Esc