-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# 面板控制命令 | ||
|
||
> DPanel Version >= 1.2.2 | ||
控制命令需要进入 DPanel 面板容器运行。 | ||
|
||
``` | ||
docker exec -it dpanel /bin/sh | ||
``` | ||
|
||
### 重置管理员用户 | ||
|
||
#### 重置密码 | ||
|
||
``` | ||
/app/server/dpanel -f /app/server/config.yaml user:reset --password 123456 | ||
``` | ||
|
||
#### 重置用户名 | ||
|
||
> 重置用户名时,必须指定命令 | ||
``` | ||
/app/server/dpanel -f /app/server/config.yaml user:reset --password 123456 --username root | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# 绑定子目录 | ||
|
||
> Version >= 1.1.4 | ||
> DPanel Version >= 1.1.4 | ||
> http://127.0.0.1:8807 根据实际的主机ip及暴露端口而决定,这里只是为了举例说明问题 | ||
|