From d001d514f1a4fa8e3001c1c345f146a8f1821ce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Fri, 23 Jan 2026 05:06:09 +0800 Subject: [PATCH] fix: openlist --- openlist/data.yml | 18 +++++------------- openlist/docker-compose.yml | 6 +++--- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/openlist/data.yml b/openlist/data.yml index 87149c1..cf6a3b9 100755 --- a/openlist/data.yml +++ b/openlist/data.yml @@ -14,13 +14,6 @@ architectures: - amd64 - arm64 environments: - OPENLIST_IMAGE: - description: - en: Docker Image - zh_CN: Docker 镜像 - zh_TW: Docker 鏡像 - type: text - default: "xhofe/openlist:latest" OPENLIST_PORT_HTTP: description: en: HTTP Port @@ -28,13 +21,12 @@ environments: zh_TW: HTTP 埠 type: port default: 5244 - OPENLIST_PORT_S3: + OPENLIST_ADMIN_PASSWORD: description: - en: S3 Port - zh_CN: S3 端口 - zh_TW: S3 埠 - type: port - default: 5246 + en: Admin Password + zh_CN: 管理员密码 + zh_TW: 管理員密碼 + type: password OPENLIST_TIME_ZONE: description: en: Time Zone diff --git a/openlist/docker-compose.yml b/openlist/docker-compose.yml index 607025d..f26c1f5 100644 --- a/openlist/docker-compose.yml +++ b/openlist/docker-compose.yml @@ -1,16 +1,16 @@ services: openlist: - image: ${OPENLIST_IMAGE} - restart: always + image: openlistteam/openlist:v4.1.9-aio + restart: unless-stopped user: "0:0" networks: - acepanel-network ports: - "${OPENLIST_PORT_HTTP}:5244" - - "${OPENLIST_PORT_S3}:5246" volumes: - ./data:/opt/openlist/data environment: + - OPENLIST_ADMIN_PASSWORD=${OPENLIST_ADMIN_PASSWORD} - TZ=${OPENLIST_TIME_ZONE} - UMASK=022 networks: