Skip to content

Commit

Permalink
readme新增docker部署
Browse files Browse the repository at this point in the history
  • Loading branch information
KincaidYang committed Oct 1, 2024
1 parent 3699bc0 commit 8913ff4
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@
根据 ICANN 《通用顶级域名注册数据临时政策细则(Temporary Specification for gTLD Registration Data)》和欧盟《通用数据保护条例》合规要求,在查询域名信息时,程序只返回了部分必要的信息(详见下方返回结果示例),不会返回所有者的`联系方式``地址``电话``邮箱`等字段。

## 使用方法
### Docker部署
```bash
# 安装 Redis
docker run -d --name redis -p 6379:6379 redis:latest
# 运行 whois
docker run -d --name whois -p 8043:8043 --link redis:redis jinzeyang/whois
# 运行 whois(大陆推荐)
docker run -d --name whois -p 8043:8043 --link redis:redis docker.cnb.cool/kincaidyang/whois
```

### 下载
#### 使用二进制文件
您可从 [Release](https://github.com/KincaidYang/whois/releases) 页面下载对应平台的二进制文件。
Expand All @@ -24,7 +34,7 @@ vim config.json
```json
{
"redis": {
"addr": "localhost:6379",
"addr": "redis:6379",
"password": "",
"db": 0
},
Expand Down

0 comments on commit 8913ff4

Please sign in to comment.