Update docs for disabling web server via cli

This commit is contained in:
bobokun 2025-09-01 14:45:08 -04:00
parent 7c506ae2fd
commit 9a0bb257b4
No known key found for this signature in database
GPG key ID: B73932169607D927
4 changed files with 6 additions and 3 deletions

View file

@ -1 +1 @@
4.6.1-develop4
4.6.1-develop5

View file

@ -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). | "" |

View file

@ -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

View file

@ -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: