]> git.somenet.org - pub/jan/mattermost-dev-env.git/blob - Vagrantfile
Vagrant provisioning
[pub/jan/mattermost-dev-env.git] / Vagrantfile
1 Vagrant.configure("2") do |config|
2   config.vm.box = "debian/buster64"
3
4   config.vm.provider "virtualbox" do |v|
5     v.name = "mm-dev-env"
6     v.memory = 4096
7   end
8
9   config.vm.provider "libvirt" do |v|
10     v.memory = 4096
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: 8065, host: 8065
19
20 end