chore: 添加 gitignored 凭据文件模板
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -8,6 +8,7 @@ gradle/gradle-daemon-jvm.properties
|
|||||||
*.iml
|
*.iml
|
||||||
.idea/
|
.idea/
|
||||||
local.properties
|
local.properties
|
||||||
|
secrets.properties
|
||||||
|
|
||||||
# OS
|
# OS
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|||||||
19
secrets.properties.example
Normal file
19
secrets.properties.example
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# 服务器凭据模板 —— 复制为 secrets.properties 并填入真实值
|
||||||
|
# secrets.properties 已被 .gitignore 忽略(绝不提交);本 example 文件可安全提交,供 clone 后照着填。
|
||||||
|
#
|
||||||
|
# ---- SSH(生产机)----
|
||||||
|
SSH_HOST=
|
||||||
|
SSH_PORT=22
|
||||||
|
SSH_USER=
|
||||||
|
SSH_PASSWORD=
|
||||||
|
|
||||||
|
# ---- MySQL 生产库 ----
|
||||||
|
MYSQL_PROD_HOST=
|
||||||
|
MYSQL_PROD_PORT=3306
|
||||||
|
MYSQL_PROD_USER=
|
||||||
|
MYSQL_PROD_PASSWORD=
|
||||||
|
MYSQL_PROD_DB=mys_info_v3
|
||||||
|
|
||||||
|
# ---- 后端 API ----
|
||||||
|
API_BASE_URL=https://m.muguaclub.cn/clock
|
||||||
|
API_TOKEN=
|
||||||
Reference in New Issue
Block a user