{"id":21297445,"url":"https://github.com/eigo-mt-fuji/redash","last_synced_at":"2026-04-29T14:31:33.577Z","repository":{"id":113825459,"uuid":"188412631","full_name":"Eigo-Mt-Fuji/redash","owner":"Eigo-Mt-Fuji","description":"Redash for Multi container Docker of AWS Elastic Beanstalk","archived":false,"fork":false,"pushed_at":"2019-06-20T03:31:26.000Z","size":106,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-11T07:50:46.524Z","etag":null,"topics":["aws","business-intelligence","docker","elasticbeanstalk","multi-container","redash"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Eigo-Mt-Fuji.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-24T11:46:24.000Z","updated_at":"2021-10-27T03:01:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c17bf92-b055-4ac4-8ffd-4a3546c718df","html_url":"https://github.com/Eigo-Mt-Fuji/redash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Eigo-Mt-Fuji/redash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eigo-Mt-Fuji%2Fredash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eigo-Mt-Fuji%2Fredash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eigo-Mt-Fuji%2Fredash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eigo-Mt-Fuji%2Fredash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eigo-Mt-Fuji","download_url":"https://codeload.github.com/Eigo-Mt-Fuji/redash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eigo-Mt-Fuji%2Fredash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32429084,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","business-intelligence","docker","elasticbeanstalk","multi-container","redash"],"created_at":"2024-11-21T14:37:22.704Z","updated_at":"2026-04-29T14:31:33.564Z","avatar_url":"https://github.com/Eigo-Mt-Fuji.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Eigo-Mt-Fuji redash\n\n[![Redash 5.0.2](https://img.shields.io/badge/redash-v5.0.2-ff7964.svg)](https://github.com/getredash/redash)\n\n## 構成図\n* 以下の赤枠部分\n\n![re:dash architecture](./docs/redash.png)\n\n## 事前準備\n* [re:dashのdev-guide](https://redash.io/help/open-source/dev-guide/setup)を読んでおく\n\n* AWS CloudWatch Log Groupを作成\n  * `/aws/elasticbeanstalk/Test2-env-1/redash` と仮定\n  * 変更したい場合は Dockerrun.aws.jsonの `logConfiguration` を置き換え\n* ElasticBeanstalkアプリケーション作成\n  * Platform: Multi docker container\n  * Single Instance \n* RDS for Postgres 9.5 を作成\n  * 代替案: Dockerrun.aws.jsonのcontainerDefinitionsにpostgresを追加\n  * Dockerrun.aws.jsonの 環境変数 `REDASH_DATABASE_URL` に作成したインスタンス接続情報を適用\n  * [RedashのDDL](./resources/redash-data.sql)を、作成したインスタンスのpostgresスキーマ上にリストア\n* ElastiCache(Redis) を作成\n  * 代替案: Dockerrun.aws.jsonのcontainerDefinitionsにredisを追加\n  * Dockerrun.aws.jsonの 環境変数 `REDASH_REDIS_URL` に作成したインスタンス接続情報を適用\n\n* デプロイツール[eb cli](https://docs.aws.amazon.com/ja_jp/elasticbeanstalk/latest/dg/eb-cli3-install-osx.html)をセットアップ\n\n## デプロイ(Dockerrun.aws.jsonをElasticBeanstalkにデプロイ)\n\n* init (初回) \n\n```\n$ eb init --profile {profile} test2\n```\n\n* deploy (test2アプリケーション上のTest2-env-1にデプロイ)\n\n```\n$ eb deploy --profile {profile} Test2-env-1\n```\n\n## 参考\n\n* Redash docker-compose in local\n\n```\n# create base pg_dump (only github maintainer)\n$ git clone github.com/getredash/redash.git redash-original\n$ cd redash-original\n$ docker-compose build # if no ports mapping for postgresql, add 15432:5432 before build.\n$ docker-compose up\n```\n\n* Redash DDL取得 (local)\n\n```\n# drop schema (only if reset required.)\n\n$ psql -h127.0.0.1  --port 15432 -Upostgres \ndrop schema public cascade;\ncreate schema public;\n\n# create table in docker container(only at first contact)\n$ docker exec -it {redash server container_id} /bin/bash\nbin/run ./manage.py database create_tables\n$ pg_dump -h127.0.0.1  --port 15432 -Upostgres postgres \u003e resources/redash-data.sql\n```\n\n* Redashテーブル作成(AWS)\n\n```\n# create tables\nredash-db-ssh # connect to postgresql on aws\nredash-db \u003c resources/redash-data.sql # restore\n```\n\n* 参考\n\n```\nhttps://redash.io/help/open-source/dev-guide/setup\nhttps://stackoverflow.com/questions/32311366/alembic-util-command-error-cant-find-identifier\nhttps://qiita.com/a-suenami/items/e231adc2e083ef9449f6\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feigo-mt-fuji%2Fredash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feigo-mt-fuji%2Fredash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feigo-mt-fuji%2Fredash/lists"}