NGINX Consul Upstream Vagrant Lab
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
vertx-scripts
.gitignore
Berksfile
README.md
Vagrantfile

README.md

NGINX Consul Vagrant - Lab

This is a Vagrant setup that will download, install, and configure the lab, allowing you to learn, and play with dynamic upstreams in NGINX that are resolved dynamically from Consul via ngx-lua.

Requirements

  • Vagrant 1.8.4+
  • Probably OSX (untested on other platforms)
  • Probably VMWare (untested on Virtualbox)

Instructions

Setup

sudo gem install berkshelf
vagrant plugin install vagrant-omnibus
vagrant plugin install vagrant-berkshelf
git clone https://github.com/sigil66/nginx-consul-vagrant.git
cd nginx-consul-vagrant
vagrant up

Usage

After vagrant up:

Automation

This setup ties together the following projects:

Issues

  • There appears to be some strange interaction with the berks command and vagrant-berkshelf that mangles the GEM_PATH for some ruby setups (investigating)