upctl stack deploy dokku
Deploy a Dokku Builder stack
Examples
upctl stack deploy dokku --zone <zone-name> --name <project-name> --github-pat <github-personal-access-token> --github-user <github-username>
upctl stack deploy dokku --zone pl-waw1 --name my-dokku-project --github-pat ghp_Uiej1N1fA1W... --github-user dokkumaster
upctl stack deploy dokku --name my-new-project --zone es-mad1 --github-pat ghp_Uiej1N1fA1W... --github-user dokkumaster
Options
Option | Description |
---|---|
--zone |
Zone (location) for the stack deployment |
--name |
Dokku project name |
--github-pat |
GitHub Personal Access Token. Used to allow Dokku to push your app images to your GitHub Container Registry. Make sure it has write:packages and read:packages permissions |
--github-user |
Used to allow Dokku to push your app images to your GitHub Container Registry |
--cert-manager-email |
Email for TLS cert registration (default: ops@example.com) Default: ops@example.com |
--global-domain |
Example: example.com. If you do not have a domain name leave this empty and it will get the value of the ingress nginx load balancer automatically. Example: lb-0a39e6584… |
--num-nodes |
Number of nodes in the Dokku cluster (default: 3) Default: 3 |
--ssh-path |
Path to your private SSH key (default: ~/.ssh/id_rsa). Needed to be able to ‘git push dokku@ Default: /home/runner/.ssh/id_rsa |
--ssh-path-pub |
Path to your public SSH key (default: ~/.ssh/id_rsa.pub) Default: /home/runner/.ssh/id_rsa.pub |
--github-package-url |
Container registry hostname (default: ghcr.io) Default: ghcr.io |
--help , -h |
help for dokku Default: false |
Global options
Option | Description |
---|---|
--client-timeout , -t |
Client timeout to use in API calls. Default: 0s |
--config |
Configuration file path. |
--debug |
Print out more verbose debug logs. Default: false |
--force-colours |
Force coloured output despite detected terminal support. |
--no-colours |
Disable coloured output despite detected terminal support. Colours can also be disabled by setting NO_COLOR environment variable. |
--output , -o |
Output format. Valid values are human , json and yaml .Default: human |
Related commands
Command | Description |
---|---|
upctl stack deploy | Deploy a stack (EXPERIMENTAL) |