mirror of https://github.com/langgenius/dify.git
fix: fix no dify home directory lead permission error (#32169)
This commit is contained in:
parent
4058e9ae23
commit
0142001fc2
|
|
@ -62,6 +62,9 @@ LANG=C.UTF-8
|
|||
LC_ALL=C.UTF-8
|
||||
PYTHONIOENCODING=utf-8
|
||||
|
||||
# Set UV cache directory to avoid permission issues with non-existent home directory
|
||||
UV_CACHE_DIR=/tmp/.uv-cache
|
||||
|
||||
# ------------------------------
|
||||
# Server Configuration
|
||||
# ------------------------------
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ x-shared-env: &shared-api-worker-env
|
|||
LANG: ${LANG:-C.UTF-8}
|
||||
LC_ALL: ${LC_ALL:-C.UTF-8}
|
||||
PYTHONIOENCODING: ${PYTHONIOENCODING:-utf-8}
|
||||
UV_CACHE_DIR: ${UV_CACHE_DIR:-/tmp/.uv-cache}
|
||||
LOG_LEVEL: ${LOG_LEVEL:-INFO}
|
||||
LOG_OUTPUT_FORMAT: ${LOG_OUTPUT_FORMAT:-text}
|
||||
LOG_FILE: ${LOG_FILE:-/app/logs/server.log}
|
||||
|
|
|
|||
Loading…
Reference in New Issue