This repository has been archived by the owner. It is now read-only.
Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (21 sloc) 820 Bytes
# -*- mode: ruby -*-
# vi: set ft=ruby :
BOX_NAME = ENV['BOX_NAME'] || "ubuntu-docker-nginx"
VAGRANTFILE_API_VERSION = "2"
Vagrant.require_version ">= 1.5.0"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = BOX_NAME
config.vm.box = "ubuntu/trusty64"
config.vm.box_check_update = true
config.vm.provision :shell, :inline => "
/var/presentation/provision.sh
"
config.vm.provider :virtualbox do |vb|
vb.name = "docker-presentation"
vb.customize ["modifyvm", :id, "--cpus", 4]
vb.customize ["modifyvm", :id, "--memory", 4096]
vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"]
end
config.vm.synced_folder ".", "/var/presentation"
config.vm.network "forwarded_port", guest: 80, host: 1234, auto_correct: true
end