-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathVagrantfile
47 lines (35 loc) · 1.38 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
38
39
40
41
42
43
44
45
46
47
# -*- mode: ruby -*-
# vi: set ft=ruby :
# 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|
config.vm.define "master" do |master|
master.vm.box = "urban/trusty64-node"
master.vm.network "forwarded_port", guest: 3000, host: 3000
master.vm.network "forwarded_port", guest: 8082, host: 8082
master.vm.network "private_network", ip: "192.168.33.10"
master.vm.network "public_network"
master.vm.synced_folder "app", "/srv/app"
end
config.vm.define "test1" do |test1|
test1.vm.box = "ubuntu/trusty64"
test1.vm.network "private_network", ip: "192.168.33.11"
test1.vm.network "public_network"
test1.vm.hostname = "test1.atomia.local"
end
config.vm.define "test2" do |test2|
test2.vm.box = "ubuntu/trusty64"
test2.vm.network "private_network", ip: "192.168.33.12"
test2.vm.network "public_network"
test2.vm.hostname = "test2.atomia.local"
end
config.vm.define "test3" do |test3|
test3.vm.box = "ubuntu/trusty64"
test3.vm.network "private_network", ip: "192.168.33.13"
test3.vm.network "public_network"
test3.vm.hostname = "test3.atomia.local"
end
config.ssh.insert_key = false
config.ssh.username = "vagrant"
config.ssh.password = "vagrant"
end