redash/setup
2018-10-23 09:49:24 +03:00
..
docker-compose.yml Docker based setup scripts (#2850) 2018-09-25 21:08:24 +03:00
generate_key.sh Update setup files: (#2908) 2018-10-08 09:41:15 +03:00
packer.json Update setup files: (#2908) 2018-10-08 09:41:15 +03:00
README.md Update README.md 2018-09-25 21:08:46 +03:00
setup.sh Fix: setup.sh fails when run as root. (#2996) 2018-10-23 09:49:24 +03:00

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.

How do I use setup.sh on a different operating system?

You will need to update the install_docker function and maybe other functions as well.