环境: centos7
官网:https://redash.io/help/open-source/dev-guide/docker
一、安装步骤
1、虚拟机安装安装vmware,并安装centos7
2、安装docker docker安装手册 3、安装nodejscentos下安装Nodejs
4、redash安装 1)、clone git repostorygit clone https://github.com/getredash/redash.git2)、Create Docker Services
docker-compose up3)、Install npm Packages
npm install4)、Create Database
# Create tables5、启动redash
docker-compose run --rm server create_db # Create database for tests
docker-compose run --rm postgres psql -h postgres -U postgres -c "create database tests"
docker-compose -f docker-compose.yml up -d6、邮箱配置
参考地址:
https://redash.io/help/open-source/setup/
https://ithelp.ithome.com.tw/articles/10207745?sc=iThelpR
https://www.copylian.com/technology/201.html
在docker-compose.yml 中配置:
REDASH_MAIL_SERVER: "smtp.163.com"
REDASH_MAIL_PORT: 465
REDASH_MAIL_USE_TLS: "false"
REDASH_MAIL_USE_SSL: "true"
REDASH_MAIL_USERNAME: "xxxx@163.com"
REDASH_MAIL_PASSWORD: "xxxxxx"
REDASH_MAIL_DEFAULT_SENDER: "xxxxx@163.com"
邮箱测试:
docker-compose run --rm server manage send_test_mail
二、问题 1、npm build报错处理
https://blog.csdn.net/wq18512847606/article/details/80847751
2、安装piphttps://www.cnblogs.com/BillyYoung/p/11088470.html
3、解决启动错误:(docker-entrypoint)https://www.jianshu.com/p/ffe2b5a08897
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)