]> git.somenet.org - pub/jan/aic18.git/blob - Vagrantfile
Add info on partial-reprovision.
[pub/jan/aic18.git] / Vagrantfile
1 Vagrant.configure("2") do |config|
2   config.vm.box = "debian/testing64"
3
4   config.vm.provider "virtualbox" do |v|
5     v.name = "aic18g6t4"
6     v.memory = 2048
7   end
8
9   # design-choice: run file in vm.
10   config.vm.provision "shell", inline: "/vagrant/provision.sh"
11
12   config.vm.network "forwarded_port", guest: 8080, host: 8080
13
14   # only for debugging reasons?
15   config.vm.network "forwarded_port", guest: 8081, host: 8081
16   config.vm.network "forwarded_port", guest: 8081, host: 8082
17   config.vm.network "forwarded_port", guest: 8082, host: 8083
18   config.vm.network "forwarded_port", guest: 8083, host: 8084
19
20 end