feat: support WEBUI_PASSWORD env var with default password

Set default WebUI password to "proxygo" and allow customization via
WEBUI_PASSWORD environment variable, eliminating the need to manually
compute SHA256 hashes and modify source code.
This commit is contained in:
jonasen1988
2026-03-27 19:48:36 +08:00
parent f678e2e016
commit f2c3fbac24
4 changed files with 36 additions and 10 deletions

View File

@@ -11,6 +11,7 @@ services:
environment:
- TZ=Asia/Shanghai
- DATA_DIR=/app/data
# - WEBUI_PASSWORD=your-password # 自定义 WebUI 登录密码,默认: proxygo
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:7778/"]
interval: 30s