Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore:优化配置,连接snail-job用户名密码可以使用环境变量SCHEDULE_USERNAME、SCHEDULE_PASSWORD #129

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Wanxp
Copy link

@Wanxp Wanxp commented Jan 24, 2025

PR 类型

  • 新 feature
  • Bug 修复
  • 功能增强
  • 文档变更
  • 代码样式变更
  • 重构
  • 性能改进
  • 单元测试
  • CI/CD
  • 其他

PR 目的

优化配置 增加 continew-webapi 连接snail-job用户名密码可以使用环境变量SCHEDULE_USERNAME、SCHEDULE_PASSWORD

解决方案

自定义 snail-job 所连接的用户密码
增加 continew-webapi 启动的环境变量:
SCHEDULE_USERNAME
SCHEDULE_PASSWORD
启动时增加这两个启动环境变量,如果不指定则还是是使用默认用户密码admin,admin
SCHEDULE_USERNAME 对应配置 snail-job.server.username
SCHEDULE_PASSWORD 对应配置 snail-job.server.password

PR 测试

Changelog

模块 Changelog Related issues
continew-webapi 增加 continew-webapi 环境变量SCHEDULE_USERNAME、SCHEDULE_PASSWORD 用于自定义用户名密码连接 snail-job

其他信息

提交前确认

  • PR 代码经过了完整测试,并且通过了代码规范检查
  • 已经完整填写 Changelog,并链接到了相关 issues
  • PR 代码将要提交到 dev 分支

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


wanxuping seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@Charles7c
Copy link
Member

你好,请签署下 CLA 协议,而且目前看你的提交没有绑定 GitHub 账号,需要休整下(需要同一个邮箱 git config user.email GitHub 邮箱)。

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.

3 participants