一、Docker运行
# Docker地址:https://hub.docker.com/r/xuxueli/xxl-job-admin/ (建议指定版本号)
docker pull xuxueli/xxl-job-admin:2.3.1
docker run -it \
-e PARAMS="--spring.datasource.url=jdbc:mysql://172.18.0.3:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai --spring.datasource.username=root --spring.datasource.password=xxx --xxl.job.accessToken=wtjc" \
-p 8080:8080 \
-v wtjobcentervolume:/data/applogs \
--name wtjobcenter \
--net=wtnet \
xuxueli/xxl-job-admin:2.3.1
https://github.com/xuxueli/xxl-job/blob/master/doc/db/tables_xxl_job.sql
标签:--,spring,配置,job,xuxueli,admin,JOB,XXL,xxl From: https://www.cnblogs.com/meidanlong/p/17986607