- added ports to pkgr.yml
- renamed bind var - changed from puma to rails server command
This commit is contained in:
parent
365e691587
commit
80a516fc82
2 changed files with 5 additions and 3 deletions
|
@ -30,7 +30,9 @@ after:
|
||||||
- contrib/packager.io/after.sh
|
- contrib/packager.io/after.sh
|
||||||
env:
|
env:
|
||||||
- RAILS_ENV=production
|
- RAILS_ENV=production
|
||||||
- PORT=3000
|
- ZAMMAD_BIND_IP=127.0.0.1
|
||||||
|
- ZAMMAD_RAILS_PORT=3000
|
||||||
|
- ZAMMAD_WEBSOCKET_PORT=6042
|
||||||
services:
|
services:
|
||||||
- postgres
|
- postgres
|
||||||
after_install: contrib/packager.io/postinstall.sh
|
after_install: contrib/packager.io/postinstall.sh
|
||||||
|
|
4
Procfile
4
Procfile
|
@ -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
|
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
|
|
||||||
|
|
Loading…
Reference in a new issue