diff --git a/docker-compose.yml b/docker-compose.yml index 8a3a3371..bcb1de97 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -76,6 +76,7 @@ services: - GDAL_HTTP_VERSION=2 - VSI_CACHE=TRUE - VSI_CACHE_SIZE=536870912 + - CPL_VSIL_CURL_ALLOWED_EXTENSIONS=.tif,.TIF,.tiff,.grib2,.GRIB2 # TiTiler Config - MOSAIC_CONCURRENCY=1 # AWS S3 endpoint config diff --git a/raster_api/infrastructure/config.py b/raster_api/infrastructure/config.py index 5d17cb12..59306b6e 100644 --- a/raster_api/infrastructure/config.py +++ b/raster_api/infrastructure/config.py @@ -15,7 +15,7 @@ class vedaRasterSettings(BaseSettings): # For more information on GDAL env see: https://gdal.org/user/configoptions.html # or https://developmentseed.org/titiler/advanced/performance_tuning/ env: Dict = { - "CPL_VSIL_CURL_ALLOWED_EXTENSIONS": ".tif,.TIF,.tiff", + "CPL_VSIL_CURL_ALLOWED_EXTENSIONS": ".tif,.TIF,.tiff,.grib2,.GRIB2", "GDAL_CACHEMAX": "200", # 200 mb "GDAL_DISABLE_READDIR_ON_OPEN": "EMPTY_DIR", "GDAL_INGESTED_BYTES_AT_OPEN": "32768",