From adfb42e7839e55be2cf4d89fe292ed3853cd31b3 Mon Sep 17 00:00:00 2001 From: jeessy2 <6205259+jeessy2@users.noreply.github.com> Date: Tue, 16 Jul 2024 06:12:08 -0700 Subject: [PATCH] docs: reset password in docker (#1188) --- README.md | 7 +++++++ README_EN.md | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/README.md b/README.md index 845c645..c5d2ec0 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,13 @@ docker run -d --name ddns-go --restart=always -p 9876:9876 -v /opt/ddns-go:/root jeessy/ddns-go ``` +- [可选] 重置密码 + + ```bash + docker exec ddns-go ./ddns-go -resetPassword 123456 + docker restart ddns-go + ``` + ## 使用IPv6 - 前提:你的电脑或终端能正常获取IPv6,并能正常访问IPv6 diff --git a/README_EN.md b/README_EN.md index 35e4b94..bb33fbe 100644 --- a/README_EN.md +++ b/README_EN.md @@ -97,6 +97,13 @@ Automatically obtain your public IPv4 or IPv6 address and resolve it to the corr docker run -d --name ddns-go --restart=always -p 9876:9876 -v /opt/ddns-go:/root jeessy/ddns-go ``` +- [Optional] Reset password + + ```bash + docker exec ddns-go ./ddns-go -resetPassword 123456 + docker restart ddns-go + ``` + ## Webhook - Support webhook, when the domain name is updated successfully or not, the URL filled in will be called back