chore:优化配置,连接snail-job用户名密码可以使用环境变量SCHEDULE_USERNAME、SCHEDULE_PASSWORD #129
+4
−4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR 类型
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
其他信息
提交前确认