Created
June 16, 2018 11:30
-
-
Save sairamkrish/1b5a57b5a6713006cff386cec0be7f04 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#--------------------------------------------------------- | |
# Superset specific config | |
#--------------------------------------------------------- | |
ROW_LIMIT = 5000 | |
SUPERSET_WEBSERVER_PORT = 8088 | |
#--------------------------------------------------------- | |
#--------------------------------------------------------- | |
# Flask App Builder configuration | |
#--------------------------------------------------------- | |
# Your App secret key | |
SECRET_KEY = '\2\1thisismyscretkey\1\2\e\y\y\h' | |
# The SQLAlchemy connection string to your database backend | |
# This connection defines the path to the database that stores your | |
# superset metadata (slices, connections, tables, dashboards, ...). | |
# Note that the connection information to connect to the datasources | |
# you want to explore are managed directly in the web UI | |
SQLALCHEMY_DATABASE_URI = 'sqlite:////var/lib/superset/superset.db' | |
# Flask-WTF flag for CSRF | |
WTF_CSRF_ENABLED = True | |
# Add endpoints that need to be exempt from CSRF protection | |
WTF_CSRF_EXEMPT_LIST = [] | |
# A CSRF token that expires in 1 year | |
WTF_CSRF_TIME_LIMIT = 60 * 60 * 24 * 365 | |
# Set this API key to enable Mapbox visualizations | |
MAPBOX_API_KEY = '' | |
ENABLE_PROXY_FIX = True | |
from security import CustomSecurityManager | |
CUSTOM_SECURITY_MANAGER = CustomSecurityManager |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment