Skip to content

Commit

Permalink
docs: custom filename
Browse files Browse the repository at this point in the history
  • Loading branch information
soulteary committed Sep 10, 2024
1 parent 8d49d42 commit e08f133
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ Using environment variables:
| File Owner User | USER | `USER=ubuntu` |
| File Owner UID | UID | `UID=1234` |
| File Owner GID | GID | `GID=2345` |
| Custom certs output dir | DIR | `DIR=./ssl` |
| Custom certs filename | CUSTOM_FILE_NAME | `CUSTOM_FILE_NAME=filename` |
| Expire Days | EXPIRE_DAYS | `EXPIRE_DAYS=3650` |

Using program CLI arguments:
Expand All @@ -146,6 +148,8 @@ Using program CLI arguments:
| File Owner User | USER | `--USER=ubuntu` |
| File Owner UID | UID | `--UID=1234` |
| File Owner GID | GID | `--GID=2345` |
| Custom certs output dir | DIR | `--DIR=./ssl` |
| Custom certs filename | CUSTOM_FILE_NAME | `--CUSTOM_FILE_NAME=filename` |
| Expire Days | EXPIRE_DAYS | `--EXPIRE_DAYS=3650` |

## Docker Image
Expand Down
4 changes: 4 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ certs-maker:
| File Owner User | USER | `USER=ubuntu` |
| File Owner UID | UID | `UID=1234` |
| File Owner GID | GID | `GID=2345` |
| Custom certs output dir | DIR | `DIR=./ssl` |
| Custom certs filename | CUSTOM_FILE_NAME | `CUSTOM_FILE_NAME=filename` |
| Expire Days | EXPIRE_DAYS | `EXPIRE_DAYS=3650` |

使用命令行参数:
Expand All @@ -142,6 +144,8 @@ certs-maker:
| File Owner User | USER | `--USER=ubuntu` |
| File Owner UID | UID | `--UID=1234` |
| File Owner GID | GID | `--GID=2345` |
| Custom certs output dir | DIR | `--DIR=./ssl` |
| Custom certs filename | CUSTOM_FILE_NAME | `--CUSTOM_FILE_NAME=filename` |
| Expire Days | EXPIRE_DAYS | `--EXPIRE_DAYS=3650` |

## Docker 镜像发布地址
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/define.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const (
ENV_KEY_UID = "UID"
ENV_KEY_GID = "GID"
ENV_KEY_OUTPUT_DIR = "DIR"
ENV_KEY_CUSTOM_FILE_NAME = "FILE_NAME"
ENV_KEY_CUSTOM_FILE_NAME = "CUSTOM_FILE_NAME"

ENV_KEY_EXPIRE_DAYS = "EXPIRE_DAYS"
)
Expand Down

0 comments on commit e08f133

Please sign in to comment.