chore: add production env vars and readiness probe to admin app

This commit is contained in:
Seth Call 2026-03-09 22:13:15 -05:00
parent d7bda1aeb1
commit e1997cf2f6
1 changed files with 12 additions and 0 deletions

View File

@ -27,8 +27,20 @@ spec:
ports:
- containerPort: 8080
env:
- name: RAILS_ENV
value: "production"
- name: RAILS_LOG_TO_STDOUT
value: "true"
- name: SECRET_KEY_BASE
value: "a7b8c9d0e1f2g3h4i5j6k7l8m9n0o1p2q3r4s5t6u7v8w9x0y1z2a3b4c5d6e7f8"
- name: DATABASE_URL
value: "postgres://jam:jam@72.14.176.182:5432/jam"
readinessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 10
periodSeconds: 5
---
apiVersion: v1
kind: Service