Adding 0.0.0.0 as the interface to bind, as it seems rails 4.2 changed the default behavior

gissehel %!s(int64=10) %!d(string=hace) años
padre
commit
d8434803f3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docker/scripts/init

+ 1 - 1
docker/scripts/init

@@ -150,7 +150,7 @@ source /app/.env
150 150
 
151 151
 # Fixup the Procfile and prepare the PORT
152 152
 [ -n "\${DO_NOT_RUN_JOBS}" ] && perl -pi -e 's/^jobs:/#jobs:/' /app/Procfile
153
-perl -pi -e 's/rails server\$/rails server -p \\\$PORT/' /app/Procfile
153
+perl -pi -e 's/rails server\$/rails server -b 0.0.0.0 -p \\\$PORT/' /app/Procfile
154 154
 export PORT
155 155
 
156 156
 # Start huginn