Seafile 13 docker separate data directory

hello! running seafile 13 on debian 13 using docker install from official documentation.

is there any way i could mount only the seafile-data directory (not any logs etc, just the actual data) on my hdd and put everything else in the usual directories under /opt/? putting it like this breaks the container with any combination of :/shared/log or :/shared/nginx. my .env is stock, do i need to make changes there?

in seafile-server.yml this never works:

seafile:
    volumes:
        - /media/altaria/backup/seafile/:/shared/seafile/seafile-data

this:

seafile:
    volumes:
        - /media/altaria/backup/seafile/:/shared/seafile
        - /opt/seafile-data/log/:/shared/log
        - /opt/seafile-data/nginx/:/shared/nginx

will create multiple folders (and seafile also logs to this log folder)

ls /media/altaria/backup/seafile
conf  logs  pro-data  seafile-data  seahub-data

You can use the following steps:

  1. Finish deploying seafile
  2. move /opt/seafile-data/seafile/seafile-data to a location in NFS like “/shared/seafile-data”
  3. Modify seafile-server.yml adding a new map:/shared/seafile-data:/shared/seafile/seafile-data