2016-02-24 23:28:24 +00:00
Settings
########
2016-04-15 20:26:21 +00:00
Much of the functionality of Re:dash can be changes with settings. Settings are read by `/redash/settings.py` from environment variables which (for most installs) can be set in `/opt/redash/current/.env`
2016-02-24 23:28:24 +00:00
The follow is a list of settings and what they control:
2016-04-15 20:26:21 +00:00
- **REDASH_NAME** : name of the site, used in page titles, *default "Re:dash"*
2016-02-24 23:28:24 +00:00
- **REDASH_REDIS_URL** : *default "redis://localhost:6379/0"*
- **REDASH_PROXIES_COUNT** : *default "1"*
- **REDASH_STATSD_HOST** : *default "127.0.0.1"*
- **REDASH_STATSD_PORT** : *default "8125"*
- **REDASH_STATSD_PREFIX** : *default "redash"*
2016-10-06 12:30:43 +00:00
- **REDASH_STATSD_USE_TAGS** : whether to use tags in StatsD metrics (InfluxDB's format), *default false*
2016-02-24 23:28:24 +00:00
- **REDASH_DATABASE_URL** : *default "postgresql://postgres"*
- **REDASH_CELERY_BROKER** : *default REDIS_URL*
- **REDASH_CELERY_BACKEND** : *default CELERY_BROKER*
2016-10-05 13:41:41 +00:00
- **REDASH_CELERY_TASK_RESULT_EXPIRES** : How many seconds to keep Celery task results in cache (in seconds), *default 3600*
2016-07-05 01:16:45 +00:00
- **REDASH_HEROKU_CELERY_WORKER_COUNT** : *default 2*
2016-02-24 23:28:24 +00:00
- **REDASH_QUERY_RESULTS_CLEANUP_ENABLED** : *default "true"*
- **REDASH_QUERY_RESULTS_CLEANUP_COUNT** : *default "100"*
- **REDASH_QUERY_RESULTS_CLEANUP_MAX_AGE** : *default "7"*
2016-10-05 13:41:41 +00:00
- **REDASH_SCHEMAS_REFRESH_SCHEDULE** : how often to refresh the data sources schemas (in minutes), *default 30*
2016-02-24 23:28:24 +00:00
- **REDASH_AUTH_TYPE** : *default "api_key"*
- **REDASH_PASSWORD_LOGIN_ENABLED** : *default "true"*
- **REDASH_ENFORCE_HTTPS** : *default "false"*
- **REDASH_MULTI_ORG** : *default "false"*
- **REDASH_GOOGLE_CLIENT_ID** : *default ""*
- **REDASH_GOOGLE_CLIENT_SECRET** : *default ""*
- **REDASH_SAML_METADATA_URL** : *default ""*
2016-10-13 01:58:00 +00:00
- **REDASH_SAML_LOCAL_METADATA_PATH** : *default ""*
2016-02-24 23:28:24 +00:00
- **REDASH_SAML_CALLBACK_SERVER_NAME** : *default ""*
2016-10-13 01:56:08 +00:00
- **REDASH_SAML_NAMEID_FORMAT** : *default ""*
2016-10-13 01:57:13 +00:00
- **REDASH_SAML_ENTITY_ID** : *default ""*
2016-02-24 23:28:24 +00:00
- **REDASH_STATIC_ASSETS_PATH** : *default "../rd_ui/app/"*
- **REDASH_JOB_EXPIRY_TIME** : *default 3600 * 6*
- **REDASH_COOKIE_SECRET** : *default "c292a0a3aa32397cdb050e233733900f"*
- **REDASH_LOG_LEVEL** : *default "INFO"*
- **REDASH_MAIL_SERVER** : *default "localhost"*
- **REDASH_MAIL_PORT** : *default 25*
- **REDASH_MAIL_USE_TLS** : *default "false"*
- **REDASH_MAIL_USE_SSL** : *default "false"*
- **REDASH_MAIL_USERNAME** : *default None*
- **REDASH_MAIL_PASSWORD** : *default None*
- **REDASH_MAIL_DEFAULT_SENDER** : *default None*
- **REDASH_MAIL_MAX_EMAILS** : *default None*
- **REDASH_MAIL_ASCII_ATTACHMENTS** : *default "false"*
- **REDASH_HOST** : *default ""*
- **REDASH_CORS_ACCESS_CONTROL_ALLOW_ORIGIN** : *default ""*
- **REDASH_CORS_ACCESS_CONTROL_ALLOW_CREDENTIALS** : *default "false"*
- **REDASH_CORS_ACCESS_CONTROL_REQUEST_METHOD** : *default GET, POST, PUT""*
- **REDASH_CORS_ACCESS_CONTROL_ALLOW_HEADERS** : *default "Content-Type"*
- **REDASH_ENABLED_QUERY_RUNNERS** : *default ",".join(default_query_runners)*
- **REDASH_ADDITIONAL_QUERY_RUNNERS** : *default ""*
- **REDASH_SENTRY_DSN** : *default ""*
- **REDASH_ALLOW_SCRIPTS_IN_USER_INPUT** : disable sanitization of text input, allowing full HTML, *default "true"*
- **REDASH_DATE_FORMAT** : *default "DD/MM/YY"*
- **REDASH_FEATURE_ALLOW_ALL_TO_EDIT** : *default "true"*
2016-10-05 14:19:25 +00:00
- **REDASH_FEATURE_SHOW_QUERY_RESULTS_COUNT** : disable/enable showing count of query results in status, *default "true"*
2016-02-24 23:28:24 +00:00
- **REDASH_VERSION_CEHCK** : *default "true"*
2016-09-07 03:51:01 +00:00
- **REDASH_FEATURE_DISABLE_REFRESH_QUERIES** : disable scheduled query execution, *default "false"*
2016-02-24 23:28:24 +00:00
- **REDASH_BIGQUERY_HTTP_TIMEOUT** : *default "600"*
- **REDASH_SCHEMA_RUN_TABLE_SIZE_CALCULATIONS** : *default "false"*