Docker 环境下部署 redash
生活随笔
收集整理的這篇文章主要介紹了
Docker 环境下部署 redash
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
環(huán)境: centos7
官網(wǎng):https://redash.io/help/open-source/dev-guide/docker
一、安裝步驟
1、虛擬機(jī)安裝
安裝vmware,并安裝centos7
2、安裝docker
docker安裝手冊(cè)
3、安裝nodejs
centos下安裝Nodejs
4、redash安裝
1)、clone git repostory
git clone https://github.com/getredash/redash.git2)、Create Docker Services
docker-compose up3)、Install npm Packages
npm install4)、Create Database
# Create tables 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"5、啟動(dòng)redash
docker-compose -f docker-compose.yml up -d?
6、郵箱配置
參考地址:
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"郵箱測(cè)試:
docker-compose run --rm server manage send_test_mail?
二、問題
1、npm build報(bào)錯(cuò)處理
https://blog.csdn.net/wq18512847606/article/details/80847751
2、安裝pip
https://www.cnblogs.com/BillyYoung/p/11088470.html
3、解決啟動(dòng)錯(cuò)誤:(docker-entrypoint)
https://www.jianshu.com/p/ffe2b5a08897
轉(zhuǎn)載于:https://www.cnblogs.com/BillyYoung/p/11077476.html
總結(jié)
以上是生活随笔為你收集整理的Docker 环境下部署 redash的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【笔记】LR中设置检查点
- 下一篇: 使用 Java 开发兼容 IPv6 的网