This repository has been archived on 2020-05-07. You can view files and clone it, but cannot push or open issues or pull requests.
dokku-ansible-deploy/README.md

49 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2020-04-02 22:57:29 +00:00
# dokku-ansible-deploy
2020-04-13 11:00:14 +00:00
## Overview
2020-04-02 22:57:29 +00:00
Deploy applications on Dokku using Ansible.
2020-04-13 11:00:14 +00:00
When we package and deploy applications with Dokku, we still have a number of
manual tasks to complete before the application is production ready. Running
Dokku host side commands such as `dokku letsencrypt`, creating and linking
database stores and even going ahead and wiring up monitoring and alerting
infrastructure.
This plugin automates what would be otherwise manual steps. Once you `git push`
2020-04-15 20:14:24 +00:00
your application deployment, this plugin consumes configuration specified in
2020-04-13 11:00:14 +00:00
the `deploy.d` directory to carry out the end-to-end production deployment
steps.
2020-04-03 12:21:13 +00:00
2020-04-15 20:17:28 +00:00
A rough overview of the feature set is:
2020-04-15 20:18:16 +00:00
- Setup your entire application configuration in a set of easy to manage YAML file
2020-04-15 20:17:28 +00:00
- Encrypt secrets in your Git repository and have them decrypted during deployment
- Custom hooks are available to drop into running an Ansible playbook for advanced users
- Compatible with both Heroku buildpack and Docker deployments
2020-04-13 11:00:14 +00:00
More documentation coming soon TM.
2020-04-02 23:03:17 +00:00
2020-04-15 20:13:29 +00:00
## Example Usage
- [keycloak](https://git.autonomic.zone/autonomic-cooperative/keycloak)
- [gitea](https://git.autonomic.zone/autonomic-cooperative/gitea)
2020-04-02 22:57:29 +00:00
## Requirements
- dokku 0.19.13+
- Debian based system (uses `apt` package manager for installing dependencies)
## Installation
2020-04-07 14:30:34 +00:00
```bash
2020-04-07 14:53:27 +00:00
$ dokku plugin:install https://git.autonomic.zone/autonomic-cooperative/dokku-ansible-deploy.git
2020-04-15 20:19:24 +00:00
$ dokku ansible-deploy:sudo-pass
```
## Per-app Host Setup
```bash
$ dokku ansible-deploy:vault-pass myapp
2020-04-07 14:30:34 +00:00
```