Skip to content

Commit

Permalink
chore:优化配置,连接snail-job用户名密码可以使用环境变量SCHEDULE_USERNAME、SCHEDULE_PASSWORD
Browse files Browse the repository at this point in the history
  • Loading branch information
wanxuping committed Jan 24, 2025
1 parent 4caada8 commit e7c1c08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions continew-webapi/src/main/resources/config/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,9 @@ snail-job:
# URL
url: http://127.0.0.1:8001/snail-job
# 用户名
username: admin
username: ${SCHEDULE_USERNAME:admin}
# 密码
password: admin
password: ${SCHEDULE_PASSWORD:admin}
## 重试数据批量上报滑动窗口配置
retry:
reportSlidingWindow:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,9 @@ snail-job:
# URL
url: http://127.0.0.1:8001/snail-job
# 用户名
username: admin
username: ${SCHEDULE_USERNAME:admin}
# 密码
password: admin
password: ${SCHEDULE_PASSWORD:admin}
## 重试数据批量上报滑动窗口配置
retry:
reportSlidingWindow:
Expand Down

0 comments on commit e7c1c08

Please sign in to comment.