forked from rvantonder/picoCTF-Platform-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
executable file
·25 lines (23 loc) · 1.02 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "trusty64"
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.network :forwarded_port, guest: 80, host: 8080, auto_correct: true
config.vm.network :forwarded_port, guest: 22, host: 6174
config.vm.network :forwarded_port, guest: 8000, host: 8000, auto_correct:
true
config.vm.network :forwarded_port, guest: 27017, host: 27017, auto_correct:
true
config.vm.network :forwarded_port, guest: 1337, host: 1337, auto_correct:
true
config.vm.synced_folder "api", "/home/vagrant/api"
config.vm.synced_folder "web", "/home/vagrant/web"
config.vm.synced_folder "config", "/home/vagrant/config"
config.vm.synced_folder "scripts", "/home/vagrant/scripts"
config.vm.provision :shell, :path => "scripts/vagrant_setup.sh"
config.ssh.forward_agent = true
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "2048"]
end
end