This repository was archived by the owner on Dec 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathVagrantfile
More file actions
67 lines (42 loc) · 1.73 KB
/
Vagrantfile
File metadata and controls
67 lines (42 loc) · 1.73 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
# It seems to need this here or "destroy" errors.
config.vm.box = "ubuntu/xenial64"
config.vm.define "app" do |normal|
normal.vm.box = "ubuntu/xenial64"
normal.vm.network "forwarded_port", guest: 8080, host: 8080
normal.vm.network "forwarded_port", guest: 8081, host: 8081
normal.vm.network "forwarded_port", guest: 8082, host: 8082
normal.vm.network "forwarded_port", guest: 8025, host: 8025
normal.vm.synced_folder ".", "/vagrant", :owner=> 'ubuntu', :group=>'users', :mount_options => ['dmode=777', 'fmode=777']
normal.vm.provider "virtualbox" do |vb|
# Display the VirtualBox GUI when booting the machine
vb.gui = false
# Customize the amount of memory on the VM:
vb.memory = "1024"
end
normal.vm.provision :shell, path: "vagrant/app/bootstrap.sh"
end
config.vm.define "tests" do |normal|
normal.vm.box = "ubuntu/xenial64"
normal.vm.synced_folder ".", "/vagrant", :owner=> 'ubuntu', :group=>'users', :mount_options => ['dmode=777', 'fmode=777']
normal.vm.provider "virtualbox" do |vb|
# Display the VirtualBox GUI when booting the machine
vb.gui = false
# Customize the amount of memory on the VM:
vb.memory = "2048"
end
normal.vm.provision :shell, path: "vagrant/tests/bootstrap.sh"
end
config.vm.define "frontendtests" do |normal|
normal.vm.box = "boxcutter/ubuntu1604-desktop"
normal.vm.box_version = "2.0.18"
normal.vm.synced_folder ".", "/vagrant", :owner=> 'vagrant', :group=>'users', :mount_options => ['dmode=777', 'fmode=777']
normal.vm.provider "virtualbox" do |vb|
vb.gui = true
vb.memory = "2048"
end
normal.vm.provision :shell, path: "vagrant/frontendtests/bootstrap.sh"
end
end