修复:移除敏感密码文件提交,新增示例模板
This commit is contained in:
parent
d5eb611664
commit
7a410eccf9
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
# 敏感配置文件
|
# 敏感配置文件
|
||||||
secrets.env
|
secrets.env
|
||||||
|
passwords.txt
|
||||||
*.env
|
*.env
|
||||||
*.key
|
*.key
|
||||||
*.pem
|
*.pem
|
||||||
|
|||||||
12
passwords.example.txt
Normal file
12
passwords.example.txt
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# 敏感密钥配置示例文件,真实密钥请放在 passwords.txt 中(已加入 .gitignore 不会提交到Git)
|
||||||
|
# MySQL
|
||||||
|
MYSQL_ONLINE_PASSWORD=***线上MySQL密码***
|
||||||
|
MYSQL_TEST_PASSWORD=***测试MySQL密码***
|
||||||
|
|
||||||
|
# PostgreSQL
|
||||||
|
PG_ONLINE_PASSWORD=***线上PostgreSQL密码***
|
||||||
|
PG_TEST_PASSWORD=***测试PostgreSQL密码***
|
||||||
|
|
||||||
|
# Elasticsearch
|
||||||
|
ES_TEST_PASSWORD=***测试ES密码***
|
||||||
|
ES_ONLINE_PASSWORD=***线上ES密码***
|
||||||
@ -1,6 +0,0 @@
|
|||||||
fsdo45ijfmfmuu77$%^&
|
|
||||||
fdsfiidier^$*hjfdijjd232
|
|
||||||
LdfjdjL83h3h3^$&**YGG*
|
|
||||||
dsjsLGU&%$%FG*((yy9y8
|
|
||||||
lPLYr2!ap%^4UQb#
|
|
||||||
F%?QDcWes7N2WTuiYD11
|
|
||||||
Loading…
Reference in New Issue
Block a user