summaryrefslogtreecommitdiffstats
path: root/docs/content/doc/installation/with-docker-rootless.en-us.md
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-11-30 20:52:04 +0100
committerGitHub <noreply@github.com>2020-11-30 14:52:04 -0500
commitbc455ed257a617bb1c033157578c4f864ff4d527 (patch)
tree7bfe311b62c43906a8fdc67ca5bf1019d15dcfe7 /docs/content/doc/installation/with-docker-rootless.en-us.md
parent870fd533202ee7f480e0ddc5bf48abb8e913d369 (diff)
downloadgitea-bc455ed257a617bb1c033157578c4f864ff4d527.tar.gz
gitea-bc455ed257a617bb1c033157578c4f864ff4d527.zip
Set RUN_MODE prod by default (#13765)
I think it's a bad default to have "dev" as the default run mode which enables debugging and now also disables HTTP caching. It's better to just default to a value suitable for general deployments. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'docs/content/doc/installation/with-docker-rootless.en-us.md')
-rw-r--r--docs/content/doc/installation/with-docker-rootless.en-us.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/doc/installation/with-docker-rootless.en-us.md b/docs/content/doc/installation/with-docker-rootless.en-us.md
index 6280531781..b856637208 100644
--- a/docs/content/doc/installation/with-docker-rootless.en-us.md
+++ b/docs/content/doc/installation/with-docker-rootless.en-us.md
@@ -240,7 +240,7 @@ 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.
+* `RUN_MODE`: **prod**: Application run mode, affects performance and debugging. Either "dev", "prod" or "test".
* `SSH_DOMAIN`: **localhost**: Domain name of this server, used for the displayed clone URL in Gitea's UI.
* `SSH_PORT`: **2222**: SSH port displayed in clone URL.
* `SSH_LISTEN_PORT`: **%(SSH\_PORT)s**: Port for the built-in SSH server.