mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-27 22:48:37 +08:00
Update docs for disabling web server via cli
This commit is contained in:
parent
7c506ae2fd
commit
9a0bb257b4
4 changed files with 6 additions and 3 deletions
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
|||
4.6.1-develop4
|
||||
4.6.1-develop5
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| **Shell Command** | **Docker Environment Variable** | **Config Command** | **Description** | **Default Value** |
|
||||
|:----------------------------------------------------------------------------------:|:-------------------------------:|:---------------------:|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------:|
|
||||
| `-ws` or `--web-server` | QBT_WEB_SERVER | N/A | Start the webUI server to handle command requests via HTTP API. | False |
|
||||
| `-ws` or `--web-server` | QBT_WEB_SERVER | N/A | Start the webUI server to handle command requests via HTTP API. Pass `--web-server` to enable, `--web-server=False` to disable. Default: enabled on desktop (non-Docker) runs; disabled in Docker. | Auto |
|
||||
| `-H` or `--host` | QBT_HOST | N/A | Hostname for the web server (default: 0.0.0.0). | 0.0.0.0 |
|
||||
| `-p` or `--port` | QBT_PORT | N/A | Port number for the web server (default: 8080). | 8080 |
|
||||
| `-b` or `--base-url` | QBT_BASE_URL | N/A | Base URL path for the web UI (e.g., '/qbit-manage'). Default is empty (root). | "" |
|
||||
|
|
|
|||
|
|
@ -146,6 +146,9 @@ qbit-manage --run
|
|||
|
||||
# Run with web UI (default on desktop)
|
||||
qbit-manage --web-server
|
||||
|
||||
# Run without web UI (force disable)
|
||||
qbit-manage --web-server=False
|
||||
```
|
||||
|
||||
### Usage
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ services:
|
|||
image: bobokun/qbit_manage:latest
|
||||
container_name: qbit_manage
|
||||
environment:
|
||||
- QBT_WEB_SERVER=true # Enable web server
|
||||
- QBT_WEB_SERVER=true # Enable web server (set to false to disable)
|
||||
- QBT_HOST=0.0.0.0 # Set web server host
|
||||
- QBT_PORT=8080 # Set web server port
|
||||
ports:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue