Please read through the upgrade notes for 13.0 as there are some important changes like PG11 being a minimum requirement.
As for the actual upgrade, you should be able to follow the standard process outlined here since you are persisting your data outside the container: https://docs.gitlab.com/omnibus/docker/#update