Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Rahix
Created March 9, 2015 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rahix/f649f62602a386f795e9 to your computer and use it in GitHub Desktop.
Save Rahix/f649f62602a386f795e9 to your computer and use it in GitHub Desktop.
Vagrant file
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version.
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "ubuntu/trusty64"
# Set up Port forwarding
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 443, host: 4430
# Shared folders setup
# config.vm.synced_folder "configfiles", "/var/configfiles"
# config.vm.synced_folder "../DummyProject/"
# (Shell) Provisioning
config.vm.provision "shell", path: "bootstrap.sh"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment