1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Docker compose deploys use the correct passenger workers

This commit is contained in:
2022-02-03 21:33:24 +00:00
parent 9fec6c079f
commit ae70128479
4 changed files with 12 additions and 2 deletions

View File

@@ -34,12 +34,14 @@ spec:
image: jcwimer/wrestlingdev:prod
imagePullPolicy: Always
command: ["bundle"]
args: ["exec", "passenger", "start", "-p", "80", "--max-pool-size", "3","--environment", "production"]
args: ["exec", "passenger", "start", "-p", "80", "--max-pool-size", "2","--environment", "production"]
ports:
- containerPort: 80
env:
- name: RAILS_ENV
value: production
- name: PASSENGER_POOL_SIZE
value: "2"
- name: WRESTLINGDEV_DB_NAME
value: wrestlingdev
- name: WRESTLINGDEV_DB_USR