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

Switching to passenger

This commit is contained in:
2018-07-17 11:30:36 +00:00
parent 94b6d9aaa3
commit 1a6e2a08a8
3 changed files with 6 additions and 3 deletions

View File

@@ -70,4 +70,5 @@ RUN RAILS_ENV=production bundle exec rake assets:precompile
# By default, simply start puma.
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 -t 3:3 -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 -p 443 --max-pool-size 3 --environment production --ssl --ssl-certificate /ssl/server.crt --ssl-certificate-key /ssl/server.key