1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-01 12:15:25 +00:00

Changed worker script for heroku and added workers to puma

This commit is contained in:
2018-08-08 13:33:40 +00:00
parent db5438903a
commit 08b3d9b7ee
2 changed files with 4 additions and 3 deletions

View File

@@ -90,5 +90,5 @@ RUN RAILS_ENV=production bundle exec rake assets:precompile
ENTRYPOINT ["/tini", "--"]
WORKDIR /rails
CMD bundle exec puma -t 5:5 -b 'ssl://0.0.0.0:443?key=/ssl/server.key&verify_mode=none&cert=/ssl/server.crt' -e production
CMD bundle exec puma -w 3 -t 5:5 -b 'ssl://0.0.0.0:443?key=/ssl/server.key&verify_mode=none&cert=/ssl/server.crt' -e production
#CMD bundle exec passenger start --max-pool-size 3 --environment production --ssl --ssl-certificate /ssl/server.crt --ssl-certificate-key /ssl/server.key