Skip to content

Commit

Permalink
docs: update version to 3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
soulteary committed Aug 4, 2024
1 parent 1c4e555 commit 0f0aa50
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Generate a self-hosted / dev certificate through configuration.
Generate self-signed certificate supporting `*.lab.com` and `*.data.lab.com`, just "One Click":

```bash
docker run --rm -it -v `pwd`/ssl:/ssl soulteary/certs-maker:v3.4.1 "--CERT_DNS=lab.com,*.lab.com,*.data.lab.com"
docker run --rm -it -v `pwd`/ssl:/ssl soulteary/certs-maker:v3.5.0 "--CERT_DNS=lab.com,*.lab.com,*.data.lab.com"
# OR use environment:
# docker run --rm -it -v `pwd`/ssl:/ssl -e "CERT_DNS=lab.com,*.lab.com,*.data.lab.com" soulteary/certs-maker:v3.4.1
# docker run --rm -it -v `pwd`/ssl:/ssl -e "CERT_DNS=lab.com,*.lab.com,*.data.lab.com" soulteary/certs-maker:v3.5.0
```

Check in the `ssl` directory of the execution command directory:
Expand All @@ -41,7 +41,7 @@ version: '2'
services:

certs-maker:
image: soulteary/certs-maker:v3.4.1
image: soulteary/certs-maker:v3.5.0
environment:
- CERT_DNS=lab.com,*.lab.com,*.data.lab.com
volumes:
Expand All @@ -59,9 +59,9 @@ docker-compose up
If you want the certificate to be more friendly to K8s, you can add the `FOR_K8S` parameter:

```bash
docker run --rm -it -v `pwd`/ssl:/ssl soulteary/certs-maker:v3.4.1 "--CERT_DNS=lab.com,*.lab.com,*.data.lab.com --FOR_K8S=ON"
docker run --rm -it -v `pwd`/ssl:/ssl soulteary/certs-maker:v3.5.0 "--CERT_DNS=lab.com,*.lab.com,*.data.lab.com --FOR_K8S=ON"
# OR
# docker run --rm -it -v `pwd`/ssl:/ssl -e "CERT_DNS=lab.com,*.lab.com,*.data.lab.com" -e "FOR_K8S=ON" soulteary/certs-maker:v3.4.1
# docker run --rm -it -v `pwd`/ssl:/ssl -e "CERT_DNS=lab.com,*.lab.com,*.data.lab.com" -e "FOR_K8S=ON" soulteary/certs-maker:v3.5.0
```

And K8S friendly compose file:
Expand All @@ -71,7 +71,7 @@ version: '2'
services:

certs-maker:
image: soulteary/certs-maker:v3.4.1
image: soulteary/certs-maker:v3.5.0
environment:
- CERT_DNS=lab.com,*.lab.com,*.data.lab.com
- FOR_K8S=ON
Expand All @@ -82,9 +82,9 @@ certs-maker:
If you want the certificate to be more friendly to Firefox, you can add the `FOR_FIREFOX` parameter:

```bash
docker run --rm -it -v `pwd`/ssl:/ssl soulteary/certs-maker:v3.4.1 "--CERT_DNS=lab.com,*.lab.com,*.data.lab.com --FOR_FIREFOX=ON"
docker run --rm -it -v `pwd`/ssl:/ssl soulteary/certs-maker:v3.5.0 "--CERT_DNS=lab.com,*.lab.com,*.data.lab.com --FOR_FIREFOX=ON"
# OR
# docker run --rm -it -v `pwd`/ssl:/ssl -e "CERT_DNS=lab.com,*.lab.com,*.data.lab.com" -e "FOR_FIREFOX=ON" soulteary/certs-maker:v3.4.1
# docker run --rm -it -v `pwd`/ssl:/ssl -e "CERT_DNS=lab.com,*.lab.com,*.data.lab.com" -e "FOR_FIREFOX=ON" soulteary/certs-maker:v3.5.0
```

And Firefox friendly compose file:
Expand All @@ -94,7 +94,7 @@ version: '2'
services:

certs-maker:
image: soulteary/certs-maker:v3.4.1
image: soulteary/certs-maker:v3.5.0
environment:
- CERT_DNS=lab.com,*.lab.com,*.data.lab.com
- FOR_FIREFOX=ON
Expand Down
18 changes: 9 additions & 9 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
如果你本地已经安装好 Docker 或者 CTR,那么可以通过一条命令快速生成包含 `*.lab.com``*.data.lab.com` 的证书:

```bash
docker run --rm -it -v `pwd`/ssl:/ssl soulteary/certs-maker:v3.4.1 "--CERT_DNS=lab.com,*.lab.com,*.data.lab.com"
docker run --rm -it -v `pwd`/ssl:/ssl soulteary/certs-maker:v3.5.0 "--CERT_DNS=lab.com,*.lab.com,*.data.lab.com"
# 如果你希望使用 ENV 来调整生成证书的参数
# docker run --rm -it -v `pwd`/ssl:/ssl -e "CERT_DNS=lab.com,*.lab.com,*.data.lab.com" soulteary/certs-maker:v3.4.1
# docker run --rm -it -v `pwd`/ssl:/ssl -e "CERT_DNS=lab.com,*.lab.com,*.data.lab.com" soulteary/certs-maker:v3.5.0
```

在命令执行完毕之后,我们检查执行命令的 `ssl` 就能看到生成的证书文件啦:
Expand All @@ -37,7 +37,7 @@ version: '2'
services:

certs-maker:
image: soulteary/certs-maker:v3.4.1
image: soulteary/certs-maker:v3.5.0
environment:
- CERT_DNS=lab.com,*.lab.com,*.data.lab.com
volumes:
Expand All @@ -55,9 +55,9 @@ docker-compose up
如果你希望生成证书对 K8s 使用体验更友好,可以添加 `FOR_K8S` 参数:

```bash
docker run --rm -it -v `pwd`/ssl:/ssl soulteary/certs-maker:v3.4.1 "--CERT_DNS=lab.com,*.lab.com,*.data.lab.com --FOR_K8S=ON"
docker run --rm -it -v `pwd`/ssl:/ssl soulteary/certs-maker:v3.5.0 "--CERT_DNS=lab.com,*.lab.com,*.data.lab.com --FOR_K8S=ON"
#
# docker run --rm -it -v `pwd`/ssl:/ssl -e "CERT_DNS=lab.com,*.lab.com,*.data.lab.com" -e "FOR_K8S=ON" soulteary/certs-maker:v3.4.1
# docker run --rm -it -v `pwd`/ssl:/ssl -e "CERT_DNS=lab.com,*.lab.com,*.data.lab.com" -e "FOR_K8S=ON" soulteary/certs-maker:v3.5.0
```

当然,这里也有使用 `FOR_K8S` 参数的 `compose` 配置文件:
Expand All @@ -67,7 +67,7 @@ version: '2'
services:

certs-maker:
image: soulteary/certs-maker:v3.4.1
image: soulteary/certs-maker:v3.5.0
environment:
- CERT_DNS=lab.com,*.lab.com,*.data.lab.com
- FOR_K8S=ON
Expand All @@ -78,9 +78,9 @@ certs-maker:
如果你希望生成证书对 Firefox 的使用体验更友好,可以添加 `FOR_FIREFOX` 参数:

```bash
docker run --rm -it -v `pwd`/ssl:/ssl soulteary/certs-maker:v3.4.1 "--CERT_DNS=lab.com,*.lab.com,*.data.lab.com --FOR_FIREFOX=ON"
docker run --rm -it -v `pwd`/ssl:/ssl soulteary/certs-maker:v3.5.0 "--CERT_DNS=lab.com,*.lab.com,*.data.lab.com --FOR_FIREFOX=ON"
#
# docker run --rm -it -v `pwd`/ssl:/ssl -e "CERT_DNS=lab.com,*.lab.com,*.data.lab.com" -e "FOR_FIREFOX=ON" soulteary/certs-maker:v3.4.1
# docker run --rm -it -v `pwd`/ssl:/ssl -e "CERT_DNS=lab.com,*.lab.com,*.data.lab.com" -e "FOR_FIREFOX=ON" soulteary/certs-maker:v3.5.0
```

当然,这里也有使用 `FOR_FIREFOX` 参数的 `compose` 配置文件:
Expand All @@ -90,7 +90,7 @@ version: '2'
services:

certs-maker:
image: soulteary/certs-maker:v3.4.1
image: soulteary/certs-maker:v3.5.0
environment:
- CERT_DNS=lab.com,*.lab.com,*.data.lab.com
- FOR_FIREFOX=ON
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "2"
services:
certs-maker:
image: soulteary/certs-maker:v3.4.1
image: soulteary/certs-maker:v3.5.0
environment:
- CERT_DNS=lab.com,*.lab.com,*.data.lab.com
volumes:
Expand Down

0 comments on commit 0f0aa50

Please sign in to comment.