nomad-consul-demo
Vagrant box with pre-provisioned consul and nomad.
Necessary docker and java drivers which are used for the Nomad jobs are also pre-installed.
Prerequisites:
- VirtualBox >= 5.1.18
- Vagrant >= 1.9.1
Setup:
cd nomad-consul-demo
vagrant up
vagrant provision
SSH into a virtual machine
vagrant ssh
Project structure
Currently the demo vagrant box contains these directories:
ansible
, this directory contains the ansbile roles which are used for the pre-provisioning of the VMapps
, contains the demo applications. Java and Python hello world appsjobs
, contains the python, java and docker nomad job definitions. Additionally the hashi-ui job is defined for setup of the nomad-ui. The jobs definitions are written in the hcl language.