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.
This commit is contained in:
parent
abecefe0e1
commit
605e15d55c
1 changed files with 6 additions and 0 deletions
|
|
@ -58,6 +58,9 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: trading-db-credentials
|
name: trading-db-credentials
|
||||||
key: password
|
key: password
|
||||||
|
volumeMounts:
|
||||||
|
- name: tmp
|
||||||
|
mountPath: /tmp
|
||||||
startupProbe:
|
startupProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
|
|
@ -77,3 +80,6 @@ spec:
|
||||||
port: 3000
|
port: 3000
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
volumes:
|
||||||
|
- name: tmp
|
||||||
|
emptyDir: {}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue