Home

A free C++ BitTorrent/HTTP/FTP Download Client

bitcomet_installation_guide_for_linux
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
bitcomet_installation_guide_for_linux [2024/12/17 02:51] – [deb package] wxherebitcomet_installation_guide_for_linux [2024/12/17 03:08] (current) wxhere
Line 112: Line 112:
 **Note: **The main program in both modes can only run one instance at a time. **Note: **The main program in both modes can only run one instance at a time.
  
-===== Docker image =====+===== Docker image (GUI mode) =====
  
-List of BitComet docker images: https://hub.docker.com/r/wxhere/bitcomet/tags+List of BitComet Docker images in GUI mode: https://hub.docker.com/r/wxhere/bitcomet/tags
  
 ==== Deploy Method 1:  using docker-compose ==== ==== Deploy Method 1:  using docker-compose ====
Line 202: Line 202:
  
 **Step 4** Click the BitComet icon in desktop to launch it if closed. **Step 4** Click the BitComet icon in desktop to launch it if closed.
 +
 +===== Docker image (Web UI mode) =====
 +
 +List of BitComet Docker images in Web UI mode: https://hub.docker.com/r/wxhere/bitcomet-webui/tags
 +
 +==== Deploy Method 1:  using docker-compose ====
 +
 +**Step 1** Save **docker-compose.yml** to your local system:
 +
 +    services:
 +        sandbox:
 +            container_name: bitcomet
 +            image: wxhere/bitcomet-webui:latest
 +            volumes:
 +                # mounts a 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:
 +                # Web GUI port
 +                - 6080:8080
 +                # BitTorrent port
 +                - 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 mapping according to your own needs.
 +
 +**Step 2** Pull the docker image, create a container and run it:
 +
 + docker-compose -f docker-compose.yml up
 +
 +**Step 3** Open the 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 the docker image:
 +
 +    docker pull wxhere/bitcomet-webui:latest
 +
 +**Step 2** Create a container and run it:
 +
 + docker run -d \
 +   --name=bitcomet \
 +          -e BITCOMET_WEBUI_PORT=8080 \
 +          -e BITCOMET_BT_PORT=6082 \
 +          -e WEBUI_USERNAME=test \
 +          -e WEBUI_PASSWORD=test \
 +   -p 6080:8080 \
 +   -p 6882:6882 \
 +   -p 6882:6882/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 mapping according to your own needs.
 +
 +**Step 3** Open the webpage of BitComet Web UI in your browser:
 +
 + http://127.0.0.1:6080
 + username: test
 + password: test
 +
 
bitcomet_installation_guide_for_linux.1734403871.txt.gz · Last modified: 2024/12/17 02:51 by wxhere
Recent changes RSS feed Driven by DokuWiki