Skip to content

Instantly share code, notes, and snippets.

@ericyork
Last active September 19, 2018 12:08
Show Gist options
  • Save ericyork/4d274fe57e4204ac214261419f22481d to your computer and use it in GitHub Desktop.
Save ericyork/4d274fe57e4204ac214261419f22481d to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# uses scotch/box from https://app.vagrantup.com/scotch/boxes/box
config.vm.box = "scotch/box"
# port-forwarding to my local only
config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
# syncs project root with web root
config.vm.synced_folder ".", "/var/www/public"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment