Setup script for Redash with Docker on Ubuntu 18.04.
This is a reference setup for Redash on a single Ubuntu 18.04 server, which 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.docker-compose.yml
is the Docker Compose setup we use.packer.json
is Packer configuration we use to create the Cloud images.
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.
setup.sh
on a different operating system?
How do I use You will need to update the install_docker
function and maybe other functions as well.