diff --git a/README.md b/README.md index 1fe72f498..566a4f178 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ [![GoDoc](https://godoc.org/code.gitea.io/gitea?status.svg)](https://godoc.org/code.gitea.io/gitea) [![Release](https://github-release-version.herokuapp.com/github/go-gitea/gitea/release.svg?style=flat)](https://github.com/go-gitea/gitea/releases/latest) [![Help Contribute to Open Source](https://www.codetriage.com/go-gitea/gitea/badges/users.svg)](https://www.codetriage.com/go-gitea/gitea) +[![Become a backer/sponsor of gitea](https://opencollective.com/gitea/tiers/backer/badge.svg?label=backer&color=brightgreen)](https://opencollective.com/gitea) | | | | |:---:|:---:|:---:| diff --git a/README_ZH.md b/README_ZH.md index 47cee8312..db9e17476 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -9,6 +9,7 @@ [![Go Report Card](https://goreportcard.com/badge/code.gitea.io/gitea)](https://goreportcard.com/report/code.gitea.io/gitea) [![GoDoc](https://godoc.org/code.gitea.io/gitea?status.svg)](https://godoc.org/code.gitea.io/gitea) [![Release](https://github-release-version.herokuapp.com/github/go-gitea/gitea/release.svg?style=flat)](https://github.com/go-gitea/gitea/releases/latest) +[![Become a backer/sponsor of gitea](https://opencollective.com/gitea/tiers/backer/badge.svg?label=backer&color=brightgreen)](https://opencollective.com/gitea) | | | | |:---:|:---:|:---:| diff --git a/docs/content/doc/installation/with-docker.en-us.md b/docs/content/doc/installation/with-docker.en-us.md index efcb56b3e..9494fd603 100644 --- a/docs/content/doc/installation/with-docker.en-us.md +++ b/docs/content/doc/installation/with-docker.en-us.md @@ -223,6 +223,27 @@ favorite browser to finalize the installation. Visit http://server-ip:3000 and f installation wizard. If the database was started with the `docker-compose` setup as documented above please note that `db` must be used as the database hostname. +## Environments variables + +You can configure some of Gitea's settings via environment variables: + +(Default values are provided in **bold**) + +* `APP_NAME`: **"Gitea: Git with a cup of tea"**: Application name, used in the page title. +* `RUN_MODE`: **dev**: For performance and other purposes, change this to `prod` when deployed to a production environment. +* `SSH_DOMAIN`: **localhost**: Domain name of this server, used for displayed clone UR in Gitea's UI. +* `SSH_PORT`: **22**: SSH port displayed in clone URL. +* `DISABLE_SSH`: **false**: Disable SSH feature when it's not available. +* `HTTP_PORT`: **3000**: HTTP listen port. +* `ROOT_URL`: **""**: Overwrite the automatically generated public URL. This is useful if the internal and the external URL don't match (e.g. in Docker). +* `DB_TYPE`: **sqlite3**: The database type in use \[mysql, postgres, mssql, sqlite3\]. +* `DB_HOST`: **localhost:3306**: Database host address and port. +* `DB_NAME`: **gitea**: Database name. +* `DB_USER`: **root**: Database username. +* `DB_PASSWD`: **""**: Database user password. Use \`your password\` for quoting if you use special characters in the password. +* `INSTALL_LOCK`: **false**: Disallow access to the install page. +* `SECRET_KEY`: **""**: Global secret key. This should be changed. If this has a value and `INSTALL_LOCK` is empty, `INSTALL_LOCK` will automatically set to `true`. + # Customization Customization files described [here](https://docs.gitea.io/en-us/customizing-gitea/) should diff --git a/options/locale/locale_hu-HU.ini b/options/locale/locale_hu-HU.ini index 91f77063d..1329fb508 100644 --- a/options/locale/locale_hu-HU.ini +++ b/options/locale/locale_hu-HU.ini @@ -1114,6 +1114,8 @@ branch.restore_success=A(z) %s ág sikeresen visszaállítva branch.restore_failed=A(z) %s ág visszaállítása sikertelen. branch.protected_deletion_failed=Nem lehetséges a védett ágat (%s) törölni. +topic.manage_topics=Témák kezelése +topic.done=Kész [org] org_name_holder=Szervezet neve diff --git a/options/locale/locale_pt-BR.ini b/options/locale/locale_pt-BR.ini index 228f57636..57b405382 100644 --- a/options/locale/locale_pt-BR.ini +++ b/options/locale/locale_pt-BR.ini @@ -1114,6 +1114,8 @@ branch.restore_success=%s restaurado com sucesso branch.restore_failed=Falha ao restaurar branch %s. branch.protected_deletion_failed=Não é possível excluir a branch %s protegida. +topic.manage_topics=Gerenciar Tópicos +topic.done=Feito [org] org_name_holder=Nome da organização