]> git.somenet.org - pub/jan/adbs.git/blob - ex3/mongodb/Vagrantfile
finish report
[pub/jan/adbs.git] / ex3 / mongodb / Vagrantfile
1 Vagrant.configure("2") do |config|
2   config.vm.box = "debian/stretch64"
3
4   config.vm.provider "virtualbox" do |v|
5     v.name = "adbs"
6     v.memory = 1024
7   end
8
9   config.vm.provider "libvirt" do |v|
10     v.memory = 1024
11
12     config.vm.synced_folder ".", "/vagrant", type: "rsync"
13   end
14
15   # design-choice: run file in vm.
16   config.vm.provision "shell", inline: "/vagrant/vagrant_provision.sh"
17
18   config.vm.network "forwarded_port", adapter: 1, guest: 27017, host: 27017
19
20 end