Merge pull request #793 from gissehel/docker_bind_socket

Adding 0.0.0.0 as the interface to bind

Andrew Cantino 10 anos atrás
pai
commit
3fc2c95be1
1 arquivos alterados com 1 adições e 1 exclusões
  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