日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Docker 环境下部署 redash

發布時間:2023/12/13 编程问答 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Docker 环境下部署 redash 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

環境: centos7

官網:https://redash.io/help/open-source/dev-guide/docker

一、安裝步驟

1、虛擬機安裝

  安裝vmware,并安裝centos7

2、安裝docker

  docker安裝手冊

3、安裝nodejs

  centos下安裝Nodejs

4、redash安裝

  1)、clone git repostory
git clone https://github.com/getredash/redash.git
  2)、Create Docker Services
docker-compose up
  3)、Install npm Packages
npm install
  4)、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、啟動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"

郵箱測試:

docker-compose run --rm server manage send_test_mail

?

二、問題

  1、npm build報錯處理

  https://blog.csdn.net/wq18512847606/article/details/80847751

  2、安裝pip

  https://www.cnblogs.com/BillyYoung/p/11088470.html

  3、解決啟動錯誤:(docker-entrypoint)

  https://www.jianshu.com/p/ffe2b5a08897

轉載于:https://www.cnblogs.com/BillyYoung/p/11077476.html

總結

以上是生活随笔為你收集整理的Docker 环境下部署 redash的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。