Linux centos 7安装1panel面板搭建容器docker用法,在vps服务器中使用编排功能搭建比特彗星bitcomet-webui版本
Linux centos 7安装1panel面板搭建容器docker用法,在vps服务器中使用编排功能搭建比特彗星bitcomet-webui版本仓库
https://hub.docker.com/r/wxhere/bitcomet-webui
services:
sandbox:
container_name: bitcomet-webui
image: wxhere/bitcomet-webui:latest
volumes:
# mounts the host directory into the container to store config files
- ./BitComet:/root/.config/BitComet:rw
# mounts a host directory into the container to store downloaded files
- ./Downloads:/root/Downloads:rw
ports:
# BitComet WebUI port
- 6080:6080
# BitTorrent ports
- 6082:6082
- 6082:6082/udp
environment:
- BITCOMET_WEBUI_PORT=6080
- BITCOMET_BT_PORT=6082
- WEBUI_USERNAME=admin
- WEBUI_PASSWORD=itzmx.com
访问服务器 ip:6080 登录比特彗星
配置文件和下载的文件存储在路径
/opt/1panel/docker/compose/bitcomet-webui/BitComet
/opt/1panel/docker/compose/bitcomet-webui/Downloads
注:如果要修改配置文件请先停止容器,修改完成后在启动,这样才能修改成功
页:
[1]