Skip to content
Template files to assist with running redash via systemd without containers
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
bash-production-virtualenv
redash-celery@.service
redash-production.default
redash-server@.service
redash.nginx
redash.service

README.md

This repo contains some companion files to my post on using Redash as standalone processes, without containers. Feel free to reuse and adapt.

TL;DR

File 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.

The 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
You can’t perform that action at this time.