From 562e67252e43ac1003c3074fa7e5a82f2f0f1ee1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=82=9F=E7=A9=BA=E7=9A=84=E6=97=A5=E5=B8=B8=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E4=BB=93=E5=BA=93?= Date: Sat, 28 Mar 2026 19:56:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20dockerinfo/docker-compose.?= =?UTF-8?q?yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dockerinfo/docker-compose.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/dockerinfo/docker-compose.yml b/dockerinfo/docker-compose.yml index f08df91..126eae7 100755 --- a/dockerinfo/docker-compose.yml +++ b/dockerinfo/docker-compose.yml @@ -1,14 +1,13 @@ -version: '3.8' # 使用docker-compose文件版本3.8 - services: tvhelper: - build: . # 构建Dockerfile所在的当前目录 image: wukongdaily/box:latest # 指定构建完成后的镜像名称和标签 + container_name: tvhelper ports: - - "2299:22" # 将容器的22端口映射到宿主机的2299端口,以便通过SSH访问 - - "2288:80" + - "2299:2299" # 用于ssh + - "2280:2280" # 用于重定向到盒子助手资讯页 + - "15000:15000" # 将容器的15000端口映射到宿主机的15000端口,以便通过浏览器dufs文件服务器 上传xapk或者apk volumes: - - /tmp/upload/tvhelper_data:/data # 根据需要映射数据卷,此处假设您希望持久化的数据位于./data目录 - restart: unless-stopped # 除非明确要求停止,否则总是重启容器 + - /var/apps/tvhelper/shares/tvhelper:/data # 根据需要映射数据卷,此处假设您希望持久化的数据位于./data目录 + restart: always #开机启动 environment: - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/android-sdk/platform-tools