Created
November 19, 2020 08:32
-
-
Save punkmonday/325d71de581ffca1d8f8abcb16e63970 to your computer and use it in GitHub Desktop.
xuxueli/xxl-job-admin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker run | |
| -e PARAMS="--spring.datasource.url=jdbc:mysql://192.168.0.240:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=UTC | |
| --server.port=8080 服务启动窗口 | |
| --spring.datasource.username=root | |
| --spring.datasource.password=123456 | |
| --spring.datasource.driver-class-name=com.mysql.jdbc.Driver | |
| --spring.mail.host=smtp.qq.com | |
| --spring.mail.port=465 | |
| --spring.mail.username=1505455703@qq.com | |
| --spring.mail.from=cron@qq.com | |
| --spring.mail.password=xlyiqeucnjggiiga smtp ( 授权码) | |
| --spring.mail.properties.mail.smtp.auth=true | |
| --spring.mail.properties.mail.smtp.starttls.enable=true | |
| --spring.mail.properties.mail.smtp.starttls.required=true | |
| --spring.mail.properties.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory | |
| --xxl.job.logretentiondays=2" (日志保留天数) | |
| -p 9056:8080 | |
| -v /tmp:/data/applogs | |
| --name service-xxl-job-admin-2.2.0 | |
| -d xuxueli/xxl-job-admin:2.2.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment