更新 application-docker.yml,修改 Redis 和 XXL-JOB 配置为使用服务名称

springboot3
JEECG 2025-09-25 11:17:53 +08:00
parent b0df78b06c
commit d3fa38a9e6
1 changed files with 4 additions and 4 deletions

View File

@ -160,7 +160,7 @@ spring:
data:
redis:
database: 0
host: 127.0.0.1
host: jeecg-boot-redis
port: 6379
password:
#mybatis plus 设置
@ -267,11 +267,11 @@ jeecg:
#xxl-job配置
xxljob:
enabled: false
adminAddresses: http://127.0.0.1:9080/xxl-job-admin
adminAddresses: http://jeecg-boot-xxljob:9080/xxl-job-admin
appname: ${spring.application.name}
accessToken: ''
address: 127.0.0.1:30007
ip: 127.0.0.1
address: jeecg-boot-xxljob:30007
ip: jeecg-boot-xxljob
port: 30007
logPath: logs/jeecg/job/jobhandler/
logRetentionDays: 30