Skip to content
This repository was archived by the owner on Aug 12, 2020. It is now read-only.

Commit 84dfc42

Browse files
committed
change Vagrantfile config for port forwarding
Signed-off-by: Peng Xiao <[email protected]>
1 parent edd418f commit 84dfc42

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Vagrantfile

+5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Vagrant.configure(2) do |config|
2323
# within the machine from a port on the host machine. In the example below,
2424
# accessing "localhost:8080" will access port 80 on the guest machine.
2525
# config.vm.network "forwarded_port", guest: 80, host: 8080
26+
config.vm.network "forwarded_port", guest: 5672, host:5672
27+
config.vm.network "forwarded_port", guest: 15672, host: 15672
2628

2729
# Create a private network, which allows host-only access to the machine
2830
# using a specific IP.
@@ -68,5 +70,8 @@ Vagrant.configure(2) do |config|
6870
config.vm.provision "shell", inline: <<-SHELL
6971
sudo apt-get update
7072
sudo apt-get install -y python-dev python-pip python-virtualenv
73+
# for docker
74+
sudo apt-get install -y curl
75+
curl -sSL https://get.docker.com/ | sh
7176
SHELL
7277
end

0 commit comments

Comments
 (0)