docs: reset password in docker (#1188)

This commit is contained in:
jeessy2 2024-07-16 06:12:08 -07:00 committed by GitHub
parent c23b879405
commit adfb42e783
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 0 deletions

View File

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

View File

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