Sign inSign up

wxhere/bitcomet-webui

By wxhere

•Updated 3 days ago

Access the BitComet Web UI through any browser.

Image
Networking
7

50K+

wxhere/bitcomet-webui repository overview

⁠Welcome to use the Docker Edition of BitComet Web UI

List of docker images: https://hub.docker.com/r/wxhere/bitcomet-webui/tags⁠

FYI: The GUI edition of BitComet docker images can be found at: https://hub.docker.com/r/wxhere/bitcomet⁠

⁠Deploy Method 1: using docker-compose

Step 1: save docker-compose.yml to your local system:

For v2.23.0 and later:

services:
  bitcomet-webui:
    container_name: bitcomet-webui
    image: wxhere/bitcomet-webui:latest
    restart: unless-stopped
    ulimits:
      nofile:
        soft: 65536
        hard: 65536
    volumes:
      # BitComet configuration files.
      - /docker/appdata/BitComet:/config:rw

      # Downloaded files.
      - /home/user/Downloads:/output:rw
    ports:
      # BitComet WebUI.
      - "7080:8080"

      # BitTorrent incoming and DHT ports.
      - "7082:6082/tcp"
      - "7082:6082/udp"
    environment:
      # Usually keep 1000:1000. Change only when host-directory ownership differs
      # or the container reports write-permission errors; these do not control authentication.
      USER_ID: "1000"
      GROUP_ID: "1000"

      # Internal container ports; usually keep the defaults. If changed, also update
      # the container-side ports after ":" in the ports section above.
      BITCOMET_WEBUI_PORT: "8080"
      BITCOMET_BT_PORT: "6082"

      # Independent BitComet WebUI credentials. Prefer environment variables or .env.
      # NAS interfaces may use direct values when required, but never commit real credentials.
      WEBUI_USERNAME: "${BITCOMET_WEBUI_USERNAME:-bitcomet}"
      WEBUI_PASSWORD: "${BITCOMET_WEBUI_PASSWORD:?BITCOMET_WEBUI_PASSWORD is required}"

      # Set only when upgrading from a v2.22.0-or-earlier WebUI-only image and old
      # tasks store an absolute container path. Use the actual path stored by old tasks.
      # LEGACY_DOWNLOAD_PATH: "/root/Downloads"

For v2.22.0 and earlier:

services:
    sandbox:
        container_name: bitcomet-webui
        image: wxhere/bitcomet-webui:latest
        ulimits:
          nofile:
            soft: 65536
            hard: 65536
        volumes:
            # mounts the host directory into the container to store config files
            - /docker/appdata/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:80
            # BitTorrent ports
            - 6082:6082
            - 6082:6082/udp
        environment:
            - BITCOMET_WEBUI_PORT=8080
            - BITCOMET_BT_PORT=6082
            - WEBUI_USERNAME=test
            - WEBUI_PASSWORD=test

Note: Please change the username, password and port mappings according to your own needs

Step 2: pull docker image, create container and run:

docker-compose -f docker-compose.yml up

Step 3: open webpage of BitComet Web UI in your browser:

http://127.0.0.1:6080
username: test
password: test

⁠Deploy Method 2: using Docker CLI

Step 1: pull docker image:

docker pull wxhere/bitcomet-webui:latest

Step 2: create container and run:

For v2.23.0 and later:

docker run -d \
  --name bitcomet-webui \
  --restart unless-stopped \
  --ulimit nofile=65536:65536 \
  -v /docker/appdata/BitComet:/config:rw \
  -v "$HOME/Downloads":/output:rw \
  -p 7080:8080 \
  -p 7082:6082/tcp \
  -p 7082:6082/udp \
  -e USER_ID=1000 \
  -e GROUP_ID=1000 \
  -e BITCOMET_WEBUI_PORT=8080 \
  -e BITCOMET_BT_PORT=6082 \
  -e WEBUI_USERNAME="$BITCOMET_WEBUI_USERNAME" \
  -e WEBUI_PASSWORD="$BITCOMET_WEBUI_PASSWORD" \
  wxhere/bitcomet-webui:latest

For v2.22.0 and earlier:

docker run -d \
  --name=bitcomet-webui\
  --ulimit nofile=65536:65536 \
  -e BITCOMET_WEBUI_PORT=8080 \
  -e BITCOMET_BT_PORT=6082 \
  -e WEBUI_USERNAME=test \
  -e WEBUI_PASSWORD=test \
  -p 6080:80 \
  -p 6082:6082 \
  -p 6082:6082/udp \
  -v /docker/appdata/BitComet:/root/.config/BitComet:rw \
  -v ~/Downloads:/root/Downloads:rw \
  --restart unless-stopped \
  wxhere/bitcomet-webui:latest

Note: Please change the username, password, and port mappings according to your own needs

Step 3: open webpage of BitComet Web UI in your browser:

http://127.0.0.1:6080
username: test
password: test

Tag summary

Content type

Image

Digest

sha256:e056736c9…

Size

54.2 MB

Last updated

3 days ago

docker pull wxhere/bitcomet-webui