Skip to content

Commit

Permalink
Merge pull request #18 from htrc/stage-cache
Browse files Browse the repository at this point in the history
Update deployment.yaml
  • Loading branch information
dkudeki authored Dec 5, 2024
2 parents 0bbdcb9 + 816a9ce commit a7edc51
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions torchlite-backend/stage/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,30 @@ spec:
value: e0ae4638-53f3-400e-8d74-4ebbefe532ad
- name: REGISTRY_API_URL
value: https://analytics.dev.htrc.indiana.edu
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: torchlite-frontend-secrets-stage
key: redis-password
- name: REDIS_HOST
value: redis-master.torchlite-stage.svc.cluster.local
- name: ENABLE_CACHE
value: "true"
- name: CACHE_EXPIRE
value: "3600"
livenessProbe:
httpGet:
path: /health/liveness
port: 8000
initialDelaySeconds: 3
periodSeconds: 3
periodSeconds: 10
timeoutSeconds: 3
readinessProbe:
httpGet:
path: /health/readiness
port: 8000
initialDelaySeconds: 3
periodSeconds: 3
periodSeconds: 10
timeoutSeconds: 3
imagePullSecrets:
- name: dockerconfigjson-github-com

0 comments on commit a7edc51

Please sign in to comment.