codecombat/Vagrantfile

30 lines
777 B
Text
Raw Normal View History

2015-03-26 16:36:38 -04:00
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Original content copyright (c) 2014 dpen2000 licensed under the MIT license
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
2015-07-24 11:48:34 -04:00
# A VMware compatible box is avaliable from:
# https://github.com/spkane/vagrant-boxes/releases/download/v1.0.0/trusty64_vmware.box
2015-03-27 12:32:04 -04:00
config.vm.box = "ubuntu/trusty64"
2015-07-24 11:48:34 -04:00
2015-03-26 16:36:38 -04:00
config.vm.network "forwarded_port", guest: 3000, host: 3000
2015-03-31 19:50:48 -04:00
config.vm.network "forwarded_port", guest: 9485, host: 9485
2015-03-26 16:36:38 -04:00
config.vm.provision "shell", path: "scripts/vagrant/provision.sh"
2015-07-24 11:48:34 -04:00
2015-03-26 16:36:38 -04:00
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
end
2015-07-24 11:48:34 -04:00
config.vm.provider "vmware_fusion" do |v|
v.memory = 2048
v.cpus = 2
end
2015-03-26 16:36:38 -04:00
end