Shopware has an inbuilt enviroment variable called:
If you need a custom media structure path, or have tried migrating from a local enviroment to a production enviroment where your images suddenly is missing, then
SHOPWARE_CDN_STRATEGY_DEFAULT is your goto.
This enviroment variable is responsible for the image path you find under
/public/thumbnails, where the default value for dockware is
physical_filename, and the default solution for
bin/console system:setup is id.