32 lines
666 B
Python
32 lines
666 B
Python
import os
|
|
|
|
SECRET_KEY = os.environ.get("SUPERSET_SECRET_KEY", "change-in-production")
|
|
|
|
SQLALCHEMY_DATABASE_URI = os.environ.get(
|
|
"SQLALCHEMY_DATABASE_URI",
|
|
"postgresql://arcadia:arcadia123@db:5432/superset"
|
|
)
|
|
|
|
ENABLE_CORS = True
|
|
CORS_OPTIONS = {
|
|
"supports_credentials": True,
|
|
"allow_headers": ["*"],
|
|
"resources": {r"/api/*": {"origins": "*"}},
|
|
}
|
|
|
|
FEATURE_FLAGS = {
|
|
"EMBEDDED_SUPERSET": True,
|
|
"ENABLE_TEMPLATE_PROCESSING": True,
|
|
"ALERT_REPORTS": True,
|
|
"DRILL_TO_DETAIL": True,
|
|
}
|
|
|
|
SUPERSET_WEBSERVER_TIMEOUT = 300
|
|
|
|
CACHE_CONFIG = {
|
|
"CACHE_TYPE": "SimpleCache",
|
|
"CACHE_DEFAULT_TIMEOUT": 300,
|
|
}
|
|
|
|
APP_NAME = "Arcadia Insights"
|