HA on Synology Docker - permanent Disk-usage - external SSD possible?

Hi,
I have installed HA and Mosquitto as Dockers on a Synology and it works fine. But there is a permanent Disk usage roundabout 10-20 Percent, i think because of the database-usage from HA and/or Mosquitto.
My Synology is in the living room and the noise of the HDDs is a little bit to loud for me - and maybe this is also not good for the life of the HDDs.
So I had the idea to use an external small SSD on an USB3-Port of the Synology an to move the /config-Folder of the HA-Docker to this external storage. The Mosquitto-Server could move to a raspberrypi, which is also soundless.
Had someone tested this before and would that work? Do I have just to move the /config-Folder to his new location and point in the docker-container the mount-path to this new location or is something more to do?
Thanks!

That’s it.

Just to give a short feedback: It worked really that simple. Nothing other has to be changed. And after outsourcing the Mosquitto and HA-Folder to the SSD the HDD-Load of the NAS is significant lower (from 20 to 4 Percent).

I came here looking for something similar, although I’d like to go one step further. It is trivial to move the mounted volumes of your containers onto an external drive, however, if a container continuously writes to it’s volatile local volume (ie: everything that’s not mapped from the host), then you’re still getting a lot of obnoxious disk writes. We would need a way to have the synology Docker package use an external drive mount as its home for images and containers.

I would like to do it this way as well and have home assistant run completely silently because my NAS is sitting right next to my desk. Did you already figure out, how to move the docker package as well as the volume for home assistant completely to the SSD?

Depends on your Nas I guess. Mine won’t do it. I’ve got a nuc that I’m planning on using instead