Und noch was sehr wichtiges!
The Forgejo configuration is stored in the app.ini file as described in the Configuration Cheat Sheet. When using the Forgejo container image, this file is automatically created if it does not exist already. In addition it is possible to add settings using configuration variables. For instance:
FORGEJO__repository__ENABLE_PUSH_CREATE_USER=true
is the equivalent of adding the following to app.ini:
[repository]
ENABLE_PUSH_CREATE_USER = true
NOTE: it is not possible to use environment variables to remove an existing value, it must be done by editing the app.ini file.
NOTE: in case you are in a SELinux environment check the audit logs if you are having issues with containers.
Quelle: https://forgejo.org/docs/latest/admin/installation-docker/