Files
tvhelper-docker/dockerinfo/docker-compose.yml

14 lines
700 B
YAML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

services:
tvhelper:
image: wukongdaily/box:latest # 指定构建完成后的镜像名称和标签
container_name: tvhelper
ports:
- "2299:2299" # 用于ssh
- "2280:2280" # 用于重定向到盒子助手资讯页
- "15000:15000" # 将容器的15000端口映射到宿主机的15000端口以便通过浏览器dufs文件服务器 上传xapk或者apk
volumes:
- /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