@羲凡——只为了更好的活着
DolphinScheduler docker-compose安装(配置邮件)
前期准备
安装
1.下载
mkdir -p /opt/modules/dolphinscheduler
cd /opt/modules/dolphinscheduler
wget https://mirrors.tuna.tsinghua.edu.cn/apache/incubator/dolphinscheduler/1.3.5\
/apache-dolphinscheduler-incubating-1.3.5-src.zip
unzip apache-dolphinscheduler-incubating-1.3.5-src.zip
mv apache-dolphinscheduler-incubating-1.3.5-src-release dolphinscheduler-src
2.配置邮件服务
vim /opt/modules/dolphinscheduler/dolphinscheduler-src\
/docker/docker-swarm/docker-compose.yml
dolphinscheduler-alert和dolphinscheduler-worker都修改
MAIL_SERVER_HOST: "邮件服务地址"
MAIL_SERVER_PORT: "邮件服务端口"
MAIL_SENDER: "发邮件邮箱"
MAIL_USER: "发邮件邮箱"
MAIL_PASSWD: "发邮件邮箱的密码"
MAIL_SMTP_STARTTLS_ENABLE: "MAIL_SMTP_STARTTLS_ENABLE和MAIL_SMTP_SSL_ENABLE不能同时为true"
MAIL_SMTP_SSL_ENABLE: "MAIL_SMTP_STARTTLS_ENABLE和MAIL_SMTP_SSL_ENABLE不能同时为true"
MAIL_SMTP_SSL_TRUST: "邮件服务地址"
3.启动
cd /opt/modules/dolphinscheduler/dolphinscheduler-src/docker/docker-swarm
docker-compose up -d
4.登录
http://ip:12345/dolphinscheduler
默认的用户是admin,默认的密码是dolphinscheduler123
5.测试
====================================================================
@羲凡——只为了更好的活着
若对博客中有任何问题,欢迎留言交流