Gitea docker + ssh not chrooted?

Hello,

i setted up a gitea instance using the docker (rootfull) image gitea/gitea:1.20.2, with the (separate, not gitea built-in) ssh service integrated inside the docker image

When I attempt to clone a repository, let’s say ops/test.git, it fails:

git clone ssh://git@gitea.lan/ops/test.git

Cloning into 'test'...
fatal: '/ops/test.git' does not appear to be a git repository
fatal: Could not read from remote repository.

Instead, I have to provide the full absolute path inside the docker container:

git clone ssh://git@gitea.lan/data/git/repositories/ops/test.git

Cloning into 'test'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (3/3), done.

Is there any way to have the docker internal path stripped ?

thanks in advance.