xuxueli / xxl-job

A distributed task scheduling framework.(分布式任务调度平台XXL-JOB)
http://www.xuxueli.com/xxl-job/
GNU General Public License v3.0
27.45k stars 10.86k forks source link

docker-compose部署xxl-job-admin:2.3.0 #2342

Open ytqiao3 opened 3 years ago

ytqiao3 commented 3 years ago

Please answer some questions before submitting your issue. Thanks!

Which version of XXL-JOB do you using?

docker镜像版本2.3.0

Expected behavior

通过environment来配置参数之后应该连接的是参数中的数据库

Actual behavior

docker-compose.yml文件如下: version: '3' services: xxl-job: image: xuxueli/xxl-job-admin:2.3.0 environment: PARAMS: '--spring.datasource.url=jdbc:mysql://192.168.0.205:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai --spring.datasource.username=qd_tongcheng --spring.datasource.password=xxx' ports:

Other information

huangge1199 commented 1 year ago

+1