签入版本
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# 版本控制与 IDE
|
||||
.git
|
||||
.gitignore
|
||||
.idea
|
||||
.vscode
|
||||
|
||||
# Python 缓存与虚拟环境
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*.egg-info/
|
||||
.venv
|
||||
venv
|
||||
env
|
||||
|
||||
# 测试与日志
|
||||
tests
|
||||
.pytest_cache
|
||||
*.log
|
||||
|
||||
# 运行时数据(不进入镜像,compose 通过 ./uploads 挂载提供)
|
||||
uploads
|
||||
|
||||
# 敏感配置不进入镜像:环境变量由运行时注入(docker compose env_file / docker run --env-file)
|
||||
# .env 含数据库/Redis/JWT/短信等明文凭据,打进镜像即随分发泄露;仅保留占位模板 .env.example
|
||||
#.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
||||
# 前端 UI 目录(按需排除,如不需要可删)
|
||||
/ui
|
||||
/uploads
|
||||
Reference in New Issue
Block a user