Automation deploy docker with ansible
- Vagrant, tested with v1.7.4
- VirtualBox, tested with v5.0.0.
- This environment need at least 2GB (2048 KB) RAM for it self, so you need at least 4GB RAM installed at your machine.
- Number of CPUs is 1.
- Video memory is 8MB.
- Storage start from 10 GB (it'll increased by time).
- Make sure you already generate ssh key and add that ssh key to your github account, you can see the tutorial here.
- Check your ssh to use agent forwarding, you can see the tutorial here, and if you already add agent forwarding config but still not working, you can try run
ssh-add -Kat your terminal.
- Clone the repository on your local machine.
- Go to
/path/of/your/boxwith terminal or console. - Run
vagrant upinside that folder and wait until vagrant configuration is completed. - Add this to your
/etc/hostsfile :
192.168.56.10 pasy.dev api.pasy.dev admin.pasy.dev supervisor.pasy.dev queue.pasy.dev mail.pasy.dev search.pasy.dev img.pasy.dev
- If something goes wrong you can try restart the box using
vagrant reloadcommand. - When there is an update in configuration or inside playbook, just run
vagrant provision.
This box is built on top Ansible so the license will refer to Ansible Licence,