I just try to spin up a GitLab instance via Docker container on Rancher. However, I am hitting the problem that, after each restart of the Pod the data is completly reset. I use a StatefulSet which crates a Persistent Volume Claim on Longhorn. On Longhorn it also really creates this claim and puts data in it. However after a reastart of the Pod it does not use this data, but creats everything anew. The amount of data in Longhorn does not change, but I guess this is because this it it just overwrites everything.
I think my error is that I translate the mount points of the GitLab image falsely into the UI fields offered by rancher. Following this guide (https://www.rancher.cn/how-to-run-gitlab-in-rancher-1/
and this documentation: https://docs.gitlab.com/ee/install/docker.html#set-up-the-volumes-location
) I entered this:
into the mount point fields (see picture). What am I doing wrong?