Skip to content

docs: 完善环境配置文档和注释#1

Merged
ding113 merged 2 commits intoding113:mainfrom
AptS-1547:main
Oct 22, 2025
Merged

docs: 完善环境配置文档和注释#1
ding113 merged 2 commits intoding113:mainfrom
AptS-1547:main

Conversation

@AptS-1547
Copy link
Collaborator

  • 在 .env.example 中添加配置项的详细注释说明
    • 为 ADMIN_TOKEN 添加安全提示
    • 说明 AUTO_MIGRATE 的作用和默认值
    • 明确 DSN 的使用场景
  • 在 docker-compose.yaml 中配置 AUTO_MIGRATE 环境变量
  • 移除 docker-compose.yaml 中过时的 volumes 配置注释

这些修改提高了配置文件的可用性和安全性,使部署配置更加清晰易懂。

- 在 .env.example 中添加配置项的详细注释说明
  - 为 ADMIN_TOKEN 添加安全提示
  - 说明 AUTO_MIGRATE 的作用和默认值
  - 明确 DSN 的使用场景
- 在 docker-compose.yaml 中配置 AUTO_MIGRATE 环境变量
- 移除 docker-compose.yaml 中过时的 volumes 配置注释

这些修改提高了配置文件的可用性和安全性,使部署配置更加清晰易懂。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants