forked from QuestionKey/QuestionKey-Core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
36 lines (22 loc) · 838 Bytes
/
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.synced_folder ".", "/vagrant", :owner=> 'www-data', :group=>'users', :mount_options => ['dmode=777', 'fmode=777']
config.vm.define "normal" do |normal|
normal.vm.network "forwarded_port", guest: 80, host: 8080
normal.vm.box = "ubuntu/xenial64"
normal.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.memory = "512"
end
normal.vm.provision :shell, path: "vagrant/normal/bootstrap.sh"
end
config.vm.define "frontendtests" do |frontendtests|
frontendtests.vm.box = "boxcutter/ubuntu1404-desktop"
frontendtests.vm.provider "virtualbox" do |vb|
vb.gui = true
vb.memory = "1024"
end
frontendtests.vm.provision :shell, path: "vagrant/frontendtests/bootstrap.sh"
end
end