From 605e15d55c5d4ad1876bf5d2dc7c58f1bb669e71 Mon Sep 17 00:00:00 2001 From: Sirius Devops Date: Mon, 25 May 2026 06:17:28 +0000 Subject: [PATCH] fix(dashboard): add tmp volumeMount for readOnlyRootFilesystem Next.js standalone mode needs a writable /tmp directory for cache, temp files, and logs. With , the container was crashing after "Ready in 228ms" (EOF in log stream). Added the standard emptyDir volumeMount used by other services. This should make the dashboard stable and accessible on tailnet. --- .../customer1/trading-platform/dashboard/deployment.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/base/customer1/trading-platform/dashboard/deployment.yaml b/apps/base/customer1/trading-platform/dashboard/deployment.yaml index 26bb7b6..45de986 100644 --- a/apps/base/customer1/trading-platform/dashboard/deployment.yaml +++ b/apps/base/customer1/trading-platform/dashboard/deployment.yaml @@ -58,6 +58,9 @@ spec: secretKeyRef: name: trading-db-credentials key: password + volumeMounts: + - name: tmp + mountPath: /tmp startupProbe: httpGet: path: / @@ -77,3 +80,6 @@ spec: port: 3000 initialDelaySeconds: 5 periodSeconds: 10 + volumes: + - name: tmp + emptyDir: {}