소스 검색

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

gissehel 10 년 전
부모
커밋
d8434803f3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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