From 0b1fb49281ce64d02ba86964f6779441c8d3bf8c Mon Sep 17 00:00:00 2001 From: GoneTone Date: Sun, 14 Jun 2026 01:48:49 +0800 Subject: [PATCH] add timezone and upload_files mounts to docker install --- docker-install.md | 4 ++++ zh_cn/docker-install.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docker-install.md b/docker-install.md index 0eb6bee..e9834b0 100644 --- a/docker-install.md +++ b/docker-install.md @@ -25,9 +25,11 @@ services: ports: - "23333:23333" volumes: + - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro - /web/data:/opt/mcsmanager/web/data - /web/logs:/opt/mcsmanager/web/logs + - /web/public/upload_files:/opt/mcsmanager/web/public/upload_files daemon: image: githubyumao/mcsmanager-daemon:latest @@ -73,9 +75,11 @@ docker run -v /etc/timezone:/etc/timezone:ro \ # Start the MCSManager Web Panel docker run \ +-v /etc/timezone:/etc/timezone:ro \ -v /etc/localtime:/etc/localtime:ro \ -v ${CHANGE_ME_TO_INSTALL_PATH}/web/data:/opt/mcsmanager/web/data \ -v ${CHANGE_ME_TO_INSTALL_PATH}/web/logs:/opt/mcsmanager/web/logs \ +-v ${CHANGE_ME_TO_INSTALL_PATH}/web/public/upload_files:/opt/mcsmanager/web/public/upload_files \ -p 23333:23333 \ -d githubyumao/mcsmanager-web:latest ``` diff --git a/zh_cn/docker-install.md b/zh_cn/docker-install.md index 601d93c..e7b46bc 100644 --- a/zh_cn/docker-install.md +++ b/zh_cn/docker-install.md @@ -26,9 +26,11 @@ services: ports: - "23333:23333" volumes: + - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro - /web/data:/opt/mcsmanager/web/data - /web/logs:/opt/mcsmanager/web/logs + - /web/public/upload_files:/opt/mcsmanager/web/public/upload_files daemon: image: githubyumao/mcsmanager-daemon:latest @@ -75,9 +77,11 @@ docker run -v /etc/timezone:/etc/timezone:ro \ # 启动 MCSManager Web 端 docker run \ +-v /etc/timezone:/etc/timezone:ro \ -v /etc/localtime:/etc/localtime:ro \ -v ${CHANGE_ME_TO_INSTALL_PATH}/web/data:/opt/mcsmanager/web/data \ -v ${CHANGE_ME_TO_INSTALL_PATH}/web/logs:/opt/mcsmanager/web/logs \ +-v ${CHANGE_ME_TO_INSTALL_PATH}/web/public/upload_files:/opt/mcsmanager/web/public/upload_files \ -p 23333:23333 \ -d githubyumao/mcsmanager-web:latest