mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
There was a change in how the code is run locally and part of this change included using port 8080. This change includes the port forwarding for said port in the example file for Vagrant
22 lines
833 B
Ruby
22 lines
833 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
|
|
VAGRANTFILE_API_VERSION = "2"
|
|
|
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
config.vm.provider "virtualbox" do |v|
|
|
v.memory = 4096
|
|
v.cpus = 1
|
|
v.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/vagrant", "1"]
|
|
end
|
|
config.vm.box = "thepeopleseason/habitrpg"
|
|
config.ssh.forward_agent = true
|
|
|
|
config.vm.hostname = "habitrpg"
|
|
config.vm.network "forwarded_port", guest: 3000, host: 3000, auto_correct: true
|
|
config.vm.usable_port_range = (3000..3050)
|
|
config.vm.network "forwarded_port", guest: 8080, host: 8080, auto_correct: true
|
|
config.vm.usable_port_range = (8080..8130)
|
|
config.vm.provision :shell, :path => "vagrant_scripts/vagrant.sh"
|
|
end
|