- added ports to pkgr.yml

- renamed bind var
- changed from puma to rails server command
This commit is contained in:
André Bauer 2017-04-23 11:00:15 +02:00
parent 365e691587
commit 80a516fc82
2 changed files with 5 additions and 3 deletions

View file

@ -30,7 +30,9 @@ after:
- contrib/packager.io/after.sh
env:
- RAILS_ENV=production
- PORT=3000
- ZAMMAD_BIND_IP=127.0.0.1
- ZAMMAD_RAILS_PORT=3000
- ZAMMAD_WEBSOCKET_PORT=6042
services:
- postgres
after_install: contrib/packager.io/postinstall.sh

View file

@ -1,3 +1,3 @@
web: bundle exec puma -b tcp://${ZAMMAD_BIND:=127.0.0.1}:${ZAMMAD_RAILS_PORT:=3000}
web: bundle exec script/rails server -b ${ZAMMAD_BIND_IP:=127.0.0.1} -p ${ZAMMAD_RAILS_PORT:=3000}
websocket: bundle exec script/websocket-server.rb -b ${ZAMMAD_BIND_IP:=127.0.0.1} -p ${ZAMMAD_WEBSOCKET_PORT:=6042} start
worker: bundle exec script/scheduler.rb start -t
websocket: bundle exec script/websocket-server.rb -b ${ZAMMAD_BIND:=127.0.0.1} -p ${ZAMMAD_WEBSOCKET_PORT:=6042} start