From dab21915b46551588cb6b5963e63d7e0d2469552 Mon Sep 17 00:00:00 2001 From: Sojan Jose Date: Thu, 28 Nov 2019 13:36:29 +0530 Subject: [PATCH] Fix rails port getting toggled from 3000 to 5000 (#319) Fix rails port getting toggled from 3000 to 5000 when using foreman --- Procfile.dev | 2 +- docker/Procfile.docker.dev | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Procfile.dev b/Procfile.dev index 2a9bbd37c..88a1c79b1 100644 --- a/Procfile.dev +++ b/Procfile.dev @@ -1,2 +1,2 @@ -backend: bin/rails s -p ${PORT:=3000} +backend: bin/rails s -p 3000 frontend: bin/webpack-dev-server \ No newline at end of file diff --git a/docker/Procfile.docker.dev b/docker/Procfile.docker.dev index 29b5d1b8d..e2d095a4b 100644 --- a/docker/Procfile.docker.dev +++ b/docker/Procfile.docker.dev @@ -1,2 +1,2 @@ -backend: ../bin/rails server -b 0.0.0.0 -p ${PORT:=3000} +backend: ../bin/rails server -b 0.0.0.0 -p 3000 frontend: ../bin/webpack-dev-server \ No newline at end of file