Skip to content

Commit

Permalink
Update vagrant to expose port for docker (#1531)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmmrssa authored Jul 5, 2018
1 parent 0c63a0f commit 2caa482
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,14 @@ Vagrant.configure(2) do |config|
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8082" will access port 80 on the guest machine.
# config.vm.network "forwarded_port", guest: 80, host: 8082
# Port expose for docker inside vagrant (2300:2300 = CouchDB 3100:3100 = App)
config.vm.network "forwarded_port", guest: 3100, host: 3100, auto_correct: true
config.vm.network "forwarded_port", guest: 2300, host: 2300, auto_correct: true
# Port expose for dev server (5984:2200 = CouchDB 3000:3000 = App)
config.vm.network "forwarded_port", guest: 5984, host: 2200, auto_correct: true
config.vm.network "forwarded_port", guest: 3000, host: 3000, auto_correct: true
# Port expose for unit tests (Karma)
config.vm.network "forwarded_port", guest: 9876, host: 9876, auto_correct: true
config.vm.network "forwarded_port", guest: 49152, host: 49152, auto_correct: true
config.vm.network "forwarded_port", guest: 22, host: 2222, host_ip: "0.0.0.0", id: "ssh", auto_correct: true

# Create a private network, which allows host-only access to the machine
Expand Down

0 comments on commit 2caa482

Please sign in to comment.