chore: Docker 部署配置(多阶段构建+环境模板)
- 多阶段构建 → 6.2MB 镜像 - .env.example 环境模板, 敏感配置运行时注入 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
16
go/.env.example
Normal file
16
go/.env.example
Normal file
@@ -0,0 +1,16 @@
|
||||
# 宿舍电费监控 - 环境配置模板
|
||||
# 复制为 .env 后填入真实账号密码: cp .env.example .env
|
||||
# 切勿将 .env 提交到版本库
|
||||
|
||||
LZU_USERNAME=your_student_id
|
||||
LZU_PASSWORD=your_password
|
||||
|
||||
# 以下为平台参数,一般无需修改
|
||||
LZU_SERVICE_ID=29615
|
||||
XF_PLATFORM=QHIT_EDU
|
||||
XF_AUTH_APPID=2606161276416311297
|
||||
XF_SCHOOL_CODE=10730
|
||||
XF_YM_APPID=1810181825222034
|
||||
LZU_AES_KEY=your_aes_key_16bytes
|
||||
LZU_MD5_KEY=your_md5_key
|
||||
XF_CACHE_TTL=518400
|
||||
Reference in New Issue
Block a user