TTS cache_dir in docker defaults to config directory?

Hi all,

While playing with the Voice Preview device, I noticed that HA writes caches files in the ~/config/tts/* directory.

In my case this is directly writing to the SD card on my Raspberry.
I expect the config dir to be fairly static and not having much reads/wites.

For all Docker things, a separate USB SSD drive is attached where docker reads/writes images/containers/layers etc.

In the past we could configure a separate yaml file with cache options for HA/tts.
Nowadays this is controlled under the surface.

I want to preserve my SD, and set the cache directory to somepath either Ramdisk, or docker path( eg /dev/shm/ within the container). Can we do this?

Best regards!

so I solved it by adding a linux temp-fs (Ramdisk) to the install with:

# for Homassistant Text to speech
tmpfs           /home/username/home-assistant/config/tts               tmpfs   nodev,nosuid,size=64M 0 0