-
Notifications
You must be signed in to change notification settings - Fork 2
/
Vagrantfile
33 lines (25 loc) · 1.13 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
32
33
# 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|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
config.vm.hostname = "geoconcerns"
config.vm.box = "geoconcerns/geo-concerns-vagrant-base"
config.vm.box_version = ">= 0.0.2"
config.vm.network :forwarded_port, guest: 3000, host: 3000 # Rails
config.vm.network :forwarded_port, guest: 8983, host: 8983 # Solr 5.4
config.vm.network :forwarded_port, guest: 8984, host: 8984 # Fedora 4.5
config.vm.network :forwarded_port, guest: 8181, host: 8181 # GeoServer
config.vm.provider "virtualbox" do |v|
v.memory = 2048
end
shared_dir = "/vagrant"
config.vm.provision "shell", path: "./install_scripts/geo-concerns.sh", args: shared_dir, privileged: false
config.vm.provision "docker" do |d|
d.run "thinkwhere/geoserver",
args: "-p 8181:8080"
d.run "redis",
args: "-p 6379:6379"
end
end