fix(paperless-ai): use /app/data mount path consistently for init + main container
This commit is contained in:
@@ -52,8 +52,8 @@ spec:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Store token in file for main container to read
|
# Store token in file for main container to read
|
||||||
mkdir -p /data
|
mkdir -p /app/data
|
||||||
echo "$TOKEN" > /data/llm_token.txt
|
echo "$TOKEN" > /app/data/llm_token.txt
|
||||||
echo "[init] Token fetched and stored successfully"
|
echo "[init] Token fetched and stored successfully"
|
||||||
env:
|
env:
|
||||||
- name: LLM_AUTH_CLIENT_SECRET
|
- name: LLM_AUTH_CLIENT_SECRET
|
||||||
@@ -63,7 +63,7 @@ spec:
|
|||||||
key: LLM_AUTH_CLIENT_SECRET
|
key: LLM_AUTH_CLIENT_SECRET
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: paperless-ai-data
|
- name: paperless-ai-data
|
||||||
mountPath: /data
|
mountPath: /app/data
|
||||||
containers:
|
containers:
|
||||||
- name: paperless-ai
|
- name: paperless-ai
|
||||||
image: clusterzx/paperless-ai:latest
|
image: clusterzx/paperless-ai:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user