Setup Dokku.
- Debian
- Ubuntu
dokku_vhost_enable: Enable vhost-based deployments. Value of debconfdokku/vhost_enable. (boolean)dokku_web_config: Enable the web-based config page. Value of debconfdokku/web_config. (boolean)dokku_hostname: Hostname or IP for server. Value of debconfdokku/hostname. (string)dokku_skip_key_file: Skip key file requirement. Value of debconfdokku/skip_key_file. (boolean)dokku_key_file: SSH public key file for initial user. Value of debconfdokku/key_file. (string)
Note: boolean value should be "true" or "false" in string of yaml.
If use true (yes), false (no) or something similar, ansible reports changed every provision.
dokku_plugin: Install plugin.
- docker
Example:
- hosts: servers
become: yes
roles:
- znz.docker
- znz.dokku
Another example:
- hosts: all
become: yes
roles:
- znz.docker
docker_ce_channel: "stable"
- role: znz.dokku
dokku_vhost_enable: "true"
dokku_web_config: "false"
dokku_hostname: "127.0.0.1.xip.io"
dokku_skip_key_file: "true"
dokku_plugin:
- name: letsencrypt
url: https://github.com/dokku/dokku-letsencrypt.git
- name: maintenance
url: https://github.com/dokku/dokku-maintenance.git
- name: postgres
url: https://github.com/dokku/dokku-postgres.git
MIT License