Docker: There is no /etc/gitlab/gitlab.rb

The documentation says:

You can also edit just /etc/gitlab/gitlab.rb:

This file does not exist.

There is a file named

/opt/gitlab/etc/gitlab.rb.template

which looks interesting, but as this folder is NOT exported/linked, changes will be lost after restarting the container.