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