fix(xxl-job): 配置executor IP和端口解决跨服务器回调失败
XXL-Job Admin部署在Infra服务器,executor运行在Prod服务器的Docker容器中, 容器内部IP不可达,需指定宿主机IP和独立端口供Admin回调。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -99,6 +99,9 @@ xxl:
|
||||
job:
|
||||
admin:
|
||||
addresses: ${XXL_JOB_ADMIN_ADDRESSES:http://172.17.16.7:19090/xxl-job-admin}
|
||||
executor:
|
||||
ip: ${XXL_JOB_EXECUTOR_IP:}
|
||||
port: ${XXL_JOB_EXECUTOR_PORT:9999}
|
||||
|
||||
--- #################### 服务保障相关配置 ####################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user