diff --git a/docker/.env b/docker/.env index db3cbbb3f7..5cb16d611a 100644 --- a/docker/.env +++ b/docker/.env @@ -44,3 +44,4 @@ SUPERSET_ENV=development SUPERSET_LOAD_EXAMPLES=yes CYPRESS_CONFIG=false SUPERSET_PORT=8088 +MAPBOX_API_KEY='' diff --git a/docker/.env-non-dev b/docker/.env-non-dev index e4ab1c89dc..0ae4c1c793 100644 --- a/docker/.env-non-dev +++ b/docker/.env-non-dev @@ -44,3 +44,4 @@ SUPERSET_ENV=production SUPERSET_LOAD_EXAMPLES=yes CYPRESS_CONFIG=false SUPERSET_PORT=8088 +MAPBOX_API_KEY='' diff --git a/docs/docs/frequently-asked-questions.mdx b/docs/docs/frequently-asked-questions.mdx index 40c56bdde1..779f6c8c8d 100644 --- a/docs/docs/frequently-asked-questions.mdx +++ b/docs/docs/frequently-asked-questions.mdx @@ -72,7 +72,7 @@ SUPERSET_WEBSERVER_TIMEOUT = 60 ### Why is the map not visible in the geospatial visualization? You need to register a free account at [Mapbox.com](https://www.mapbox.com), obtain an API key, and add it -to **superset_config.py** at the key MAPBOX_API_KEY: +to **.env** and **.env-non-dev** at the key MAPBOX_API_KEY: ``` MAPBOX_API_KEY = "longstringofalphanumer1c"