diff --git a/docs/administration/config-cheat-sheet.md b/docs/administration/config-cheat-sheet.md index 23b81cfd..e639b626 100644 --- a/docs/administration/config-cheat-sheet.md +++ b/docs/administration/config-cheat-sheet.md @@ -36,6 +36,11 @@ A full restart is required for Gitea configuration changes to take effect. Gitea supports setting `app.ini` values via environment variables of the form `GITEA__
__`. These require running `gitea config edit-ini --in-place --apply-env` before starting Gitea to write them into `app.ini`. The official Docker images do this automatically on container startup. +:::info +If `
` or `` contains a `.`, replace that with `_0X2E_`; if it contains a `-`, replace it with `_0X2C_` +::: + + For example, to configure the database connection via environment variables: ```