From 1a26adb537179da0191158775d89b859baa00093 Mon Sep 17 00:00:00 2001 From: Chris Reeves Date: Tue, 8 Oct 2013 20:39:47 +0100 Subject: [PATCH] Running on local 8080 to guest 8080 to docker 8080 --- Dockerfile | 2 +- Vagrantfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 09819f8..f6f575d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,4 +14,4 @@ RUN wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py --no-ch RUN wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py --no-check-certificate -O - | python RUN make develop -EXPOSE 8080 +EXPOSE 8080:8080 diff --git a/Vagrantfile b/Vagrantfile index 2c28cbd..6207995 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -14,6 +14,7 @@ Vagrant.configure("2") do |config| config.ssh.forward_agent = true # Port Forwarding + config.vm.network :forwarded_port, guest: 8080, host: 8080 config.vm.network :forwarded_port, guest: 4243, host: 4243 (49000..49900).each do |port| config.vm.network :forwarded_port, :host => port, :guest => port