-
Notifications
You must be signed in to change notification settings - Fork 4
/
Vagrantfile
31 lines (25 loc) · 1.22 KB
/
Vagrantfile
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
28
29
30
31
# -*- 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.hostname = "eventkit.dev"
## create a private network visible only to the host machine
config.vm.network :private_network, ip: "192.168.99.120"
## Example of share an additional folder to the guest VM.
## This is useful if wanting to do development on your localhost with an IDE/Editor of your choice
#config.vm.synced_folder "../Eventkit/data", "/var/lib/eventkit/data"
#config.vm.synced_folder "../mapproxy/mapproxy", "/usr/lib64/python2.7/site-packages/mapproxy"
#config.vm.synced_folder "../django-osgeo-importer/osgeo_importer", "/usr/lib/python2.7/site-packages/osgeo_importer"
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "8224", "--cpus", "4"]
end
config.vm.define :production do |production|
production.vm.box = "eventkit"
production.vm.box_url = "https://s3.amazonaws.com/geoserver-mirror/eventkit.box"
end
config.vm.define :dev do |dev|
config.vm.box = "geerlingguy/centos7"
config.vm.provision :shell, path: "scripts/bootstrap.sh"
end
end