# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don’t touch unless you know what you’re doing!
VAGRANTFILE_API_VERSION = “2”
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provider “virtualbox” do |v|
v.memory = 1024
v.cpus = 1
end
config.vm.define “prod” do |prod_config|
prod_config.vm.box = “jamnplayer”
prod_config.vm.network “forwarded_port”, guest: 8080, host: 8081
prod_config.vm.network “forwarded_port”, guest: 5000, host: 5001
prod_config.vm.network “forwarded_port”, guest: 22, host: 2200, auto_correct: false, id: “ssh”
prod_config.vm.host_name = “prod”
end
end
======
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don’t touch unless you know what you’re doing!
VAGRANTFILE_API_VERSION = “2”
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provider “virtualbox” do |v|
v.memory = 2048
v.cpus = 1
end
config.vm.define “default” do |default_config|
default_config.vm.box = “ubuntu-14.04”
default_config.vm.network “forwarded_port”, guest: 6543, host: 6543
default_config.vm.network “forwarded_port”, guest: 8080, host: 8080
default_config.vm.network “forwarded_port”, guest: 5000, host: 5000
default_config.vm.network “forwarded_port”, guest: 22, host: 2222, auto_correct: false, id: “ssh”
default_config.vm.host_name = “default”
end
end