I spent 2 months, on and off, looking for info on getting svn running on Unraid.
I came across SCM Manager and it took one night to get it set up behind a reverse proxy. That saved me a lot of time.
Im sticking with Gitea for git, however, as it provides a nice web interface.