forked from CodeWithAloha/ACLU
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
18 lines (16 loc) · 907 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- mode: ruby -*-
# vi: set ft=ruby :
unless Vagrant.has_plugin?("vagrant-gatling-rsync")
raise 'This project needs a vagrant plugin, to install it run: # vagrant plugin install vagrant-gatling-rsync'
end
Vagrant.configure(2) do |config|
config.vm.box = "bas/contrib-stretch64"
config.vm.box_version = "9.0.0"
config.vm.network "private_network", ip: "192.168.50.50"
config.vm.synced_folder "./", "/var/project-aclu/", type: "rsync", rsync__verbose: true, rsync__args: ["--verbose", "--archive", "-z", "--links"], rsync__exclude: [".git/", "frontend/node_modules"]
config.vm.define "aclu" do |aclu|
end
config.vm.network "forwarded_port", guest: 8080, host_ip: "127.0.0.1", host: 50808 # nodejs-frontend
config.vm.network "forwarded_port", guest: 50050, host_ip: "127.0.0.1", host: 50050 # eve-backend
config.vm.provision "shell", path: "provision-debian.sh", privileged: false
end