全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1271|回复: 10
打印 上一主题 下一主题

[疑问] 大盘鸡如何安装qBittorrent

[复制链接]
1#
发表于 2022-12-6 19:51:27 | 显示全部楼层
docker-compose.yml

  1. # https://github.com/gshang2017/docker/tree/master/qBittorrent
  2. version: '3'

  3. services:
  4.   qbittorrent:
  5.     image: johngong/qbittorrent:latest
  6.     container_name: qbittorrent
  7.     restart: unless-stopped
  8.     env_file:
  9.       - ./.env
  10.     ports:
  11.       - '${QB_WEBUI_PORT}:8989'
  12.       - '${QB_BT_PORT}:6881'
  13.       - '${QB_BT_PORT}:6881/udp'
  14.     volumes:
  15.       - /srv/qbittorrent/config:/config
  16.       - /srv/qbittorrent/downloads:/Downloads
复制代码


.env

  1. QB_WEBUI_PORT=8989

  2. # CUSTOM
  3. TZ=Asia/Shanghai
  4. QB_BT_PORT=6881
复制代码


安装 Docker

  1. curl -s https://get.docker.com/ | sudo sh
复制代码


在上述文件的目录中执行

  1. docker compose up -d
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-30 02:46 , Processed in 0.056693 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表