feat: update health-app v2 - add volume mount, env vars, resource limits

This commit is contained in:
2026-04-02 10:15:22 +00:00
parent 07610fd448
commit e976387645
2 changed files with 15 additions and 5 deletions

View File

@@ -41,13 +41,20 @@ spec:
value: "3000"
- name: NODE_ENV
value: "production"
- name: JWT_SECRET
value: "infinicaretech-health-app-secret-2026"
- name: DB_PATH
value: "/tmp/health-app/health-app.db"
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 200m
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 256Mi
volumeMounts:
- name: tmp-data
mountPath: /tmp/health-app
livenessProbe:
httpGet:
path: /health
@@ -70,3 +77,6 @@ spec:
capabilities:
drop:
- ALL
volumes:
- name: tmp-data
emptyDir: {}

View File

@@ -6,7 +6,7 @@ resources:
images:
- name: 10.0.0.3:31427/gitea_admin/health-app
newTag: latest
newTag: v2
patches:
- target: