forked from mnori/foldatlas
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathVagrantfile
More file actions
29 lines (21 loc) · 841 Bytes
/
Vagrantfile
File metadata and controls
29 lines (21 loc) · 841 Bytes
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
#config.vm.box = "ubuntu/trusty64"
config.vm.box = "centos/7"
config.vm.provider "virtualbox" do |vb|
vb.name = "vagrant-foldatlas-dev"
vb.memory = "8192"
vb.cpus = 2
end
# config.vm.synced_folder "/media/shares/Research-Groups/Yiliang-Ding/data_analysis_Ding_2013/MAC/#Yin/Mapping_F/raw_data/structures", "/vagrant/structure_data"
config.ssh.forward_agent = true
config.ssh.forward_x11 = true
config.vm.network :forwarded_port, guest: 80, host: 8080
config.vm.provision "ansible" do |ansible|
ansible.playbook = "provisioning/playbook.yml"
end
config.vm.provision "fa_ui", type: "ansible" do |ansible|
ansible.playbook = "provisioning/playbook-foldatlas-ui.yml"
end
end