Last active
June 30, 2017 09:38
-
-
Save ueokande/f92c11963312264df1c823b4bfcda688 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
(1..2).each do |n| | |
config.vm.define "ap-#{n}" do |node| | |
node.vm.provider "docker" do |docker| | |
docker.build_dir = "vanilla" | |
docker.expose = [8000, 12201] | |
end | |
end | |
end | |
config.vm.define "graylog-db" do |node| | |
node.vm.provider "docker" do |docker| | |
docker.build_dir = "vanilla" | |
docker.expose = [27017] | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment