This repo contains some companion files to my post on using Redash as standalone processes, without containers. Feel free to reuse and adapt.
redash-production.default is meant as a template for the environment variables required by the Python runtime, to launch an instance named production. You need to customize this to your environment.
redash.nginx file contains the site configuration for the Nginx that fronts my redash instances. Simply rename accordingly and place it under
/etc/nginx/sites-available, place the requisite symlink to
/etc/nginx/sites-enabled and edit to suit your environment. You'll need to edit IP addresses and domain names, and point to the right certificate location.
If you followed my post, the
*.service files would be simple additions to the
/etc/systemd/system directory. Then you would simply…
systemctl enable redash systemctl enable redash-celery@production systemctl enable redash-server@production
You will need to configure the redash database – where Redash actually stores its own data – in order to launch the services.
systemctl start redash-celery@production systemctl start redash-server@production systemctl restart nginx