Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/technical_documentation/how-tos/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ How-Tos
Superset extra row level security <superset_row_level_security>
Superset extra jinja filters <superset_jinja_filters>
Superset custom roles <superset_roles>
Superset custom config settings <superset_config_docker>
Clickhouse extra SQL <clickhouse_sql>
Connect to external Clickhouse database <remote_clickhouse>
Extending dbt <dbt_extensions>
Expand Down
28 changes: 28 additions & 0 deletions docs/technical_documentation/how-tos/superset_config_docker.rst
Original file line number Diff line number Diff line change
@@ -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.