-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathVagrantfile
32 lines (25 loc) · 1.19 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.network "forwarded_port", guest: 3000, host: 3000
config.vm.network "forwarded_port", guest: 3306, host: 3306
config.vm.network "forwarded_port", guest: 4567, host: 4567
config.vm.network "forwarded_port", guest: 8080, host: 8080
config.vm.network "forwarded_port", guest: 8081, host: 8081
config.vm.network "forwarded_port", guest: 8089, host: 8089
config.vm.network "forwarded_port", guest: 8090, host: 8090
config.vm.network "forwarded_port", guest: 8443, host: 8443
config.vm.network "forwarded_port", guest: 8983, host: 8983
config.vm.network "forwarded_port", guest: 8888, host: 8888
config.vm.network "forwarded_port", guest: 4000, host: 4000
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
end
config.vm.synced_folder "/path/to/host/code", "/code"
config.vm.provision "shell", path:"bootstrap.sh"
config.vm.provision "shell", path:"setup_python.sh"
config.vm.provision "shell", path:"setup_mysql.sh"
config.vm.provision "shell", path:"setup_ruby.sh", privileged: false
config.vm.provision "shell", path:"setup_archivesspace.sh"
end