Explorar el Código

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

gissehel hace 10 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
 
 # Fixup the Procfile and prepare the PORT
 [ -n "\${DO_NOT_RUN_JOBS}" ] && perl -pi -e 's/^jobs:/#jobs:/' /app/Procfile
-perl -pi -e 's/rails server\$/rails server -p \\\$PORT/' /app/Procfile
+perl -pi -e 's/rails server\$/rails server -b 0.0.0.0 -p \\\$PORT/' /app/Procfile
 export PORT
 
 # Start huginn