getredash/setup — 351★ trên GitHub (Shell). Setup scripts for Redash Cloud Images
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
This is a reference setup for Redash on a single Linux server.
It uses Docker and Docker Compose for deployment and management.
This is the same setup we use for our official images (for AWS & Google Cloud) and can be used as reference if you want
to manually setup Redash in a different environment (different OS or different deployment location).
setup.sh is the script that installs everything and creates the directories.
compose.yaml is the Docker Compose setup we use.
packer.json is Packer configuration we use to create the Cloud images.
Tested
Alma Linux 8.x & 9.x
CentOS Stream 9.x
Debian 12.x
Fedora 38, 39 & 40
Oracle Linux 9.x
Red Hat Enterprise Linux 8.x & 9.x
Rocky Linux 8.x & 9.x
Ubuntu LTS 20.04 & 22.04
How to use this
This script should be run as the root user on a supported Linux system (as per above list):
# ./setup.sh
When run, the script will install the needed packages (mostly Docker) then install Redash, ready for you to configure
and begin using.
[!TIP]
If you are not on a supported Linux system, you can manually install 'docker' and 'docker compose',
then run the script to start the Redash installation process.
[!IMPORTANT]
The very first time you load your Redash web interface it can take a while to appear, as the background Python code
is being compiled. On subsequent visits, the pages should load much quicker (near instantly).
Optional parameters
The setup script has the following optional parameters: --dont-start, --preview, --version, and --overwrite.
These can be used independently of each other, or in combinations (with the exception that --preview and --version cannot be used together).
--preview
When the --preview parameter is given, the setup script will install the latest preview
image from Docker Hub instead of using the latest preview release.
# ./setup.sh --preview
--version
When the --version parameter is given, the setup script will install the specified version of Redash instead of the latest stable release.
# ./setup.sh --version 25.8.0
This option allows you to install a specific version of Redash, which can be useful for testing, compatibility checks, or ensuring reproducible environments.
[!NOTE]
The --version and --preview options cannot be used together.
Default Behavior
When neither --preview nor --version is specified, the script will automatically detect and install the latest stable release of Redash using the GitHub API.
--overwrite
[!CAUTION]
DO NOT use this parameter if you want to keep your existing Redash installation! It WILL be overwritten.
When the --overwrite option is given, the setup script will delete the existing Redash environment file
(/opt/redash/env) and Redash database, then set up a brand new (empty) Redash installation.
# ./setup.sh --overwrite
--dont-start
When this option is given, the setup script will install Redash without starting it afterwards.
This is useful for people wanting to customise or modify their Redash installation before it starts for the first time.
# ./setup.sh --dont-start
FAQ
Can I use this in production?
For small scale deployments -- yes. But for larger deployments we recommend at least splitting the database (and
probably Redis) into its own server (preferably a managed service like RDS) and setting up at least 2 servers for
Redash for redundancy. You will also need to tweak the number of workers based on your usage patterns.
How do I upgrade to newer versions of Redash?
See Upgrade Guide.
How do I use setup.sh on a different operating system?
You will need to create a docker installation function that suits your operating system, and maybe other functions as
well.
The install_docker_*() functions in setup.sh shouldn't be too hard to adapt to other Linux distributions.
How do I remove Redash if I no longer need it?
Stop the Redash containers and remove the images using docker compose -f /opt/redash/compose.yaml down --volumes --rmi all.
Remove the following lines from ~/.profile and ~/.bashrc if they're present.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/getredash/setup là nguồn chính thức.
getredash/setup có phải mã nguồn mở không?
Có — getredash/setup phát hành theo license BSD-2-Clause, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/getredash/setup.
getredash/setup có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho getredash/setup. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
getredash/setup có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho getredash/setup. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
getredash/setup còn đang phát triển không?
Commit gần nhất trên getredash/setup là 6 tháng trước (theo timestamp GitHub). Repo có 395 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
getredash/setup dùng license gì?
getredash/setup phát hành theo license BSD-2-Clause. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về setup?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về setup.