An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Support SIYUAN_WORKSPACE_PATH in Docker (#14286)
Luke Zhu2a00697af7c0
diff --git a/kernel/entrypoint.sh b/kernel/entrypoint.shindex 399a17f5e5..6c8d65782a 100644--- a/kernel/entrypoint.sh+++ b/kernel/entrypoint.sh@@ -28,8 +28,11 @@ elseadduser --uid "${PUID}" --ingroup "${group_name}" --disabled-password --gecos "" "${user_name}"fi-# Parse command line arguments for --workspace option+# Parse command line arguments for --workspace option or SIYUAN_WORKSPACE_PATH env variable# Store other arguments in ARGS for later use+if [[ -n "${SIYUAN_WORKSPACE_PATH}" ]]; then+ WORKSPACE_DIR="${SIYUAN_WORKSPACE_PATH}"+fiARGS=""while [[ "$#" -gt 0 ]]; docase $1 in