diff --git a/docs/technical_documentation/how-tos/index.rst b/docs/technical_documentation/how-tos/index.rst index fa241aa..e7036c0 100644 --- a/docs/technical_documentation/how-tos/index.rst +++ b/docs/technical_documentation/how-tos/index.rst @@ -15,6 +15,7 @@ How-Tos Superset extra row level security Superset extra jinja filters Superset custom roles + Superset custom config settings Clickhouse extra SQL Connect to external Clickhouse database Extending dbt diff --git a/docs/technical_documentation/how-tos/superset_config_docker.rst b/docs/technical_documentation/how-tos/superset_config_docker.rst new file mode 100644 index 0000000..66ddb74 --- /dev/null +++ b/docs/technical_documentation/how-tos/superset_config_docker.rst @@ -0,0 +1,28 @@ +.. _superset-config-docker: + +Superset Custom Production Config Settings +****************************************** + +To add or override production config settings in Superset, you can use the patch +`superset-config-docker`. For example, to disable any custom color schemes: + +.. code-block:: + + FEATURE_FLAGS = { + "EXTRA_CATEGORICAL_COLOR_SCHEMES": False + } + +Or to add a new custom color scheme: + +.. code-block:: + + EXTRA_CATEGORICAL_COLOR_SCHEMES.append( + { + "id": 'your_new_palette', + "description": 'Custom color scheme for Company', + "label": 'Custom Colors', + "colors": ['#11406A', '#F4661F'] + }, + ) + +These changes will take effect on restart. To override *local* config settings, use `superset-config` patch instead. \ No newline at end of file