Comment on How to organize docker volumes into subdirectories using compose

mhzawadi@lemmy.horwood.cloud ⁨11⁩ ⁨months⁩ ago

If you have data else where on your server, you can use the options to volume to direct the mount there

driver: local driver_opts: type: none o: bind device: ‘/your/current/data’

Also reading the compose spec will help

source
Sort:hotnewtop