2013-12-02 18:02:53 +02:00
|
|
|
VAGRANTFILE_API_VERSION = "2"
|
|
|
|
|
|
|
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
2014-09-02 17:29:04 +03:00
|
|
|
config.vm.box = "ubuntu/trusty64"
|
2014-08-20 18:28:25 +03:00
|
|
|
|
|
|
|
config.vm.provider :virtualbox do |vb|
|
|
|
|
vb.name = "realms-wiki"
|
|
|
|
vb.memory = 2048
|
|
|
|
vb.cpus = 2
|
|
|
|
end
|
|
|
|
|
2014-09-03 17:26:53 +03:00
|
|
|
config.vm.provision "shell", path: "install.sh"
|
2013-12-02 18:02:53 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
Vagrant::Config.run do |config|
|
2014-08-20 18:28:25 +03:00
|
|
|
config.vm.forward_port 80, 8080
|
2014-09-02 17:29:04 +03:00
|
|
|
config.vm.forward_port 5000, 5000
|
2013-12-02 18:02:53 +02:00
|
|
|
end
|