0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

redashのノウハウ

Last updated at Posted at 2022-03-15
  • アイコン変更
    docker ps
    docker exec -it --user root redash_server_1 bash

今のアイコン名:favicon-32x32.png
cd /app/client/dist/images
mv favicon-16x16.png favicon-16x16.png.bak
mv favicon-32x32.png favicon-32x32.png.bak
mv favicon-96x96.png favicon-96x96.png.bak

wget hogehoge.png
mv
find / -name favicon.ico favicon-32x32.png

もしかしたら、commitしたほうが良いかもしれない

  • google認証方法
    envファイルに設定入れて再起動するだけ
    参考URL1 参考URL2
    vim /opt/redash/env
    REDASH_GOOGLE_CLIENT_ID (Google OAuth Client ID)
    REDASH_GOOGLE_CLIENT_SECRET (Google OAuth Client Secret)
    docker-compose up -d server

  • メール設定
    https://blog.fire-sign.info/1274/

cd /opt/redash
sudo su
vim env

下記を入れてONにする
REDASH_FEATURE_EXTENDED_ALERT_OPTIONS=true
REDASH_MAIL_SERVER=
REDASH_MAIL_PORT=
REDASH_MAIL_USE_TLS=
REDASH_MAIL_USERNAME=
REDASH_MAIL_PASSWORD=
REDASH_MAIL_DEFAULT_SENDER=

$ docker-compose down
$ docker-compose up -d

テスト送信
docker-compose run --rm server manage send_test_mail
エラー出たらこれ見る https://help.sakura.ad.jp/206075182/
あれ?less thanだとアラートが流れない greater thanは流れる

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?