From 943a9e6ac2139fa66261f2be5575601e55f9c272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Sat, 22 Apr 2017 11:17:36 +0200 Subject: [PATCH] set default value for ip and ports in procfile. rails and websocket servers will bind to 127.0.0.1 in deb & rpm packages now. --- Procfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Procfile b/Procfile index 248abb76d..8bfeb0efd 100644 --- a/Procfile +++ b/Procfile @@ -1,3 +1,3 @@ -web: bundle exec rails s -p 3000 +web: bundle exec puma -b tcp://${ZAMMAD_BIND:=127.0.0.1}:${ZAMMAD_RAILS_PORT:=3000} worker: bundle exec script/scheduler.rb start -t -websocket: bundle exec script/websocket-server.rb start \ No newline at end of file +websocket: bundle exec script/websocket-server.rb -b ${ZAMMAD_BIND:=127.0.0.1} -p ${ZAMMAD_WEBSOCKET_PORT:=6042} start