I tend to have all user data for all my services on LVM logical volumes backed by encrypted storage. Normally, I just mount the LV to the location where the user data is stored. And I did mount an LV to the data/
directory of mailcow-dockerized. After that, I found that all Docker volumes are mounted from their default locations in /var/lib/docker
, essentially making my LV useless.
Is it enough to designate a directory from my filesystem to each docker volume defined in docker-compose.yml
? Will these volumes remain stable throughout new mailcow releases? Or is there a better strategy to move all mailcow sotrage?