1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-13 00:26:31 +00:00

Fixed resources for Kubernetes and Dockerfile

This commit is contained in:
2019-12-05 14:57:29 -05:00
parent 661c56d04e
commit b1bd5f5430
2 changed files with 8 additions and 6 deletions

View File

@@ -51,7 +51,9 @@ EXPOSE 443
# Tini solves the zombie PID problem
ENTRYPOINT ["/tini", "--"]
CMD bundle exec passenger start --max-pool-size 3 --environment production -p 80
CMD bundle exec passenger start --max-pool-size 3 --min-instances 3 --environment production -p 80
# Higher max pool uses more ram
#CMD bundle exec puma -w 3 -t 5:5 -b 'tcp://0.0.0.0:80' -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