How to migrate repositories from gitea older version to gitea new installation

I have local gitea installation using docker on machine
Now i am doing new installation of gitea on some other machine.
I want to move all my repository from to

@lunny i need your help here.
Everything is same between these two installation with respect to docker-compose.yml and app.ini.
Only difference is IP address and user name.

I think if you are using docker. It’s the same as you migrating other docker services. You can copy all mounted volumes and use docker save to dump the docker image. After you copy all of the above data into a new machine, you can use docker load in another machine and run with the copied mount endpoints.
If you have a dependent database, you could also backup that images’ mounted volumes and dump the images then copy them into the new machine.