forked from sanbales/openmbee-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
37 lines (26 loc) · 1.39 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
34
35
36
37
Vagrant.configure("2") do |config|
config.vm.box = "bento/centos-7.5"
config.vm.define "MMS Server - new CentOS 2"
#config.vm.disk :disk, size: "100GB", primary: true
config.disksize.size = '75GB'
config.vm.network "forwarded_port", guest: 8080, host: 8080 #MMS
config.vm.network "forwarded_port", guest: 9200, host: 9200 #ElasticSearch
config.vm.network "forwarded_port", guest: 5432, host: 5432 #Postgres
config.vm.network "forwarded_port", guest: 5433, host: 5433 #Postgres Admin GUI
config.vm.network "forwarded_port", guest: 1358, host: 1358 #ElasticSearch GUI, Dejavu
config.vm.network "forwarded_port", guest: 13030, host: 13030 #Fuseki
config.vm.network "forwarded_port", guest: 8088, host: 8088 #Webprotege
config.vm.network "forwarded_port", guest: 8090, host: 8090 #Webprotege
config.vm.network "forwarded_port", guest: 27017, host: 27017 #Webprotege's MongoDB
config.vm.provider "virtualbox" do |vb|
vb.name = "MMS Server - new CentOS 2"
vb.cpus = 4
vb.memory = 12288 # Solr requires a lot of RAM
vb.gui = false
vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"]
end
config.vm.provision "shell", path: "provision.sh"
config.vm.post_up_message = "OpenMBEE MMS Virtual Machine has been successfully created.
Visit https://github.com/MJDiaz89/openmbee-vm/ to learn how to use it.
"
end