forked from openstate/open-cultuur-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile.virtualbox
27 lines (20 loc) · 905 Bytes
/
Vagrantfile.virtualbox
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- 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|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "ubuntu1204"
# The url from where the 'config.vm.box' box will be fetched if it
# doesn't already exist on the user's system.
config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box"
# Port forwardings:
# Elasticsearch
config.vm.network :forwarded_port, guest: 9200, host: 9200
# Frontend dev server
config.vm.network :forwarded_port, guest: 5000, host: 5000
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "2048"]
end
config.vm.provision :shell, :path => "bootstrap.sh"
end