Skip to content

Commit

Permalink
docs: reset password in docker (#1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeessy2 committed Jul 16, 2024
1 parent c23b879 commit adfb42e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit adfb42e

Please sign in to comment.