Transmission A fast, easy, and free BitTorrent client

官网:https://transmissionbt.com/
Docker 镜像:https://hub.docker.com/r/linuxserver/transmission

docker-compose.yml

 1version: "3"
 2services:
 3  transmission:
 4    image: linuxserver/transmission
 5    container_name: transmission
 6    environment:
 7      - PUID=1000
 8      - PGID=1000
 9      - TZ=Asia/Shanghai
10      - TRANSMISSION_WEB_HOME=/transmission-web-control/ # 可选 /combustion-release/, /transmission-web-control/, /kettu/ 三个UI主题
11      - USER=username # http简单认证 用户名
12      - PASS=password # http简单认证 密码
13    restart: unless-stopped
14    networks:
15      - web
16    volumes:
17      - ./config:/config # 配置文件(不用管,可以在web ui设置)
18      - ./downloads:/downloads # bt文件下载路径映射
19      - ./watch:/watch #
20    ports:
21      - 9091:9091 # Web UI 端口
22      - 51413:51413
23      - 51413:51413/udp
24
25networks:
26  web:
27    external: true

启动

1docker-compose up -d

Tips

建议 openresty(nginx) 做反向代理,用域名访问 webui,
bt.torrent.com:80 => transmission:9091