forked from dpla-attic/automation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile.ingestion2
49 lines (43 loc) · 1.64 KB
/
Vagrantfile.ingestion2
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
# Example Vagrantfile.
#
# Copy this to `Vagrantfile' and edit to suit your needs.
#
# Please note the synced_folder directives. If you want to be able
# to edit files locally (outside of the VM, in your host environment)
# and have them synced with the VMs, then change these directives to
# reference them.
#
VAGRANTFILE_API_VERSION = '2'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Use the default insecure_private_key so ansible doesn't need to
# know about all the generated ones.
config.ssh.insert_key = false
# Frontend, web, ElasticSearch
config.vm.define :dev1 do |dev1|
dev1.vm.box = 'hashicorp/precise64' # Ubuntu 12.04 LTS
dev1.vm.network :private_network, ip: '192.168.50.7'
dev1.vm.provider :virtualbox do |vb|
vb.memory = 2048
end
#
# *** EDIT THESE FOR LOCAL DEVELOPMENT ***
# If necessary, you may change the path to the synced local directory
# (the first argument), but don't modify the mount point.
# dev1.vm.synced_folder "../frontend", "/frontend_dev"
# dev1.vm.synced_folder "../platform", "/api_dev"
end
# Ingestion2
config.vm.define :dev2 do |dev2|
# Note: this uses a different base box by design!
dev2.vm.box = 'ubuntu/trusty64' # Ubuntu 14.04 LTS
dev2.vm.network :private_network, ip: '192.168.50.8'
dev2.vm.provider :virtualbox do |vb|
vb.memory = 2048
end
# *** EDIT THESE FOR LOCAL DEVELOPMENT ***
# As above, change the path to the local diretory.
# dev2.vm.synced_folder "../krikri", "/krikri"
# dev2.vm.synced_folder "../heidrun", "/heidrun"
# dev2.vm.synced_folder "../heidrun-mappings", "/heidrun-mappings"
end
end