forked from jsha/blocktogether
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
20 lines (18 loc) · 807 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/bionic64"
config.vm.synced_folder ".", "/vagrant"
config.vm.provision "file", source: "~/.btconfig.json", destination: "~/.btconfig.json"
config.vm.provision :shell, privileged: false, path: "bin/vagrant_up.sh"
config.vm.network :forwarded_port, host: 3000, guest: 3000
config.vm.network :forwarded_port, host: 3001, guest: 3001
config.vm.network :forwarded_port, host: 3002, guest: 3002
config.vm.network :forwarded_port, host: 4306, guest: 3306
config.vm.network :forwarded_port, host: 4433, guest: 443
config.vm.provider "virtualbox" do |v|
v.memory = 1024
end
end