codecombat/Vagrantfile

33 lines
893 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.require_version ">= 1.5.0"
2015-03-26 16:36:38 -04:00
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
2015-07-24 11:48:34 -04:00
# Ubuntu 14.04 compatible with both VirtualBox and VMWare Fusion
# see https://github.com/phusion/open-vagrant-boxes#readme
config.vm.box = "phusion/ubuntu-14.04-amd64"
config.vm.hostname = "coco-dev"
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", privileged: false
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.vmx["memsize"] = "2048"
v.vmx["numvcpus"] = 2
2015-07-24 11:48:34 -04:00
end
2015-03-26 16:36:38 -04:00
end