No description
inventory | ||
roles/bootstrap | ||
templates | ||
.gitignore | ||
ansible.cfg | ||
bootstrap.yml | ||
Chart.yaml | ||
Dockerfile | ||
init.sh | ||
local.py | ||
README.md | ||
runme.sh | ||
values.yaml |
Automated deploy of django-todo project.
Pre requires:
- x86_64 deb based Linux distribution. Tested on Debian 9, but must work on any Debian based distro.
- Internet access
- GIT (
apt-get update && apt-get install -y git
) - Ansible (
apt-get update && apt-get install -y ansible
) - sudo (
apt-get update && apt-get install -y sudo
)
Known bugs and limitation:
- This solution not working on VirtualBox, but working fine on bare metal Debian installation.
For start adventures:
- Just clone this repo
- Go to the repo directory
- And type
./runme.sh
in your shell
What happened after you run this script:
- First of all, we install Minicube and deps with simple Ansible playbook (
bootstrap.yml
) - Booting Up Minicube with KVM backend
- Building Docker image from Alpine Python 3.6 base (without tags, because CI/CD/hooks not implemented in this repo)
- Installing our app set with Helm (with small customization of Bitnami's Postgres via
values.yaml
) - Exposing service via
minicube service