Last active
May 15, 2018 09:28
-
-
Save rahulvramesh/babad56bd53adb7f910ac2e80eb3da49 to your computer and use it in GitHub Desktop.
go-vagrant-vagrantfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/trusty64" | |
# set the hostname | |
config.vm.hostname = "mylocal.dev" | |
#set the shared folder | |
config.vm.synced_folder "src", "/home/vagrant/workspace/src" | |
#provision the box | |
config.vm.provision :shell, :path => "setup/install.sh" | |
#port forwarding | |
config.vm.network "forwarded_port", guest: 8085, host: 8085, | |
auto_correct: true | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment