This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
bitcomet_installation_guide_for_linux [2024/12/17 02:51] – [deb package] wxhere | bitcomet_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 | + | List of BitComet |
==== 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:// | ||
+ | |||
+ | ==== Deploy Method 1: using docker-compose ==== | ||
+ | |||
+ | **Step 1** Save **docker-compose.yml** to your local system: | ||
+ | |||
+ | services: | ||
+ | sandbox: | ||
+ | container_name: | ||
+ | image: wxhere/ | ||
+ | volumes: | ||
+ | # mounts a host directory into the container to store config files | ||
+ | - / | ||
+ | # mounts a host directory into the container to store downloaded files | ||
+ | - ~/ | ||
+ | ports: | ||
+ | # Web GUI port | ||
+ | - 6080:8080 | ||
+ | # BitTorrent port | ||
+ | - 6082:6082 | ||
+ | - 6082: | ||
+ | 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:// | ||
+ | username: test | ||
+ | password: test | ||
+ | |||
+ | ==== Deploy Method 2: using Docker CLI ==== | ||
+ | |||
+ | **Step 1** Pull the docker image: | ||
+ | |||
+ | docker pull wxhere/ | ||
+ | |||
+ | **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: | ||
+ | -v / | ||
+ | -v ~/ | ||
+ | --restart unless-stopped \ | ||
+ | wxhere/ | ||
+ | | ||
+ | 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:// | ||
+ | username: test | ||
+ | password: test | ||
+ |