summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAdrian POIGET <poigetadrian@gmail.com>2020-05-04 11:50:29 +0200
committerGitHub <noreply@github.com>2020-05-04 10:50:29 +0100
commit99082eebd76019fc608e44c4464da6398f51dccd (patch)
treeec7018f2e8786fac3ee2ffa24ef2e2b8a7d64f81 /docs
parent64029e1468d1c004262088ac7423fac0ba1124b7 (diff)
downloadgitea-99082eebd76019fc608e44c4464da6398f51dccd.tar.gz
gitea-99082eebd76019fc608e44c4464da6398f51dccd.zip
Fix; declare DOMAIN variable for docker setup (#10780)
In the /install form, the value for SSH Server Domain is taken form the DOMAIN variable and overwrites SSH_DOMAIN environment variable set the first time if nothing done Co-authored-by: Adrian POIGET <adrian.poiget@viveris.fr>
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/installation/with-docker.en-us.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/content/doc/installation/with-docker.en-us.md b/docs/content/doc/installation/with-docker.en-us.md
index 01914a9a2e..c65e7bc229 100644
--- a/docs/content/doc/installation/with-docker.en-us.md
+++ b/docs/content/doc/installation/with-docker.en-us.md
@@ -1,5 +1,5 @@
---
-date: "2016-12-01T16:00:00+02:00"
+date: "2020-03-19T19:27:00+02:00"
title: "Installation with Docker"
slug: "install-with-docker"
weight: 10
@@ -253,7 +253,8 @@ You can configure some of Gitea's settings via environment variables:
* `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 the displayed clone URL in Gitea's UI.
+* `DOMAIN`: **localhost**: Domain name of this server, used for the displayed http clone URL in Gitea's UI.
+* `SSH_DOMAIN`: **localhost**: Domain name of this server, used for the displayed ssh clone URL in Gitea's UI. If the install page is enabled, SSH Domain Server takes DOMAIN value in the form (which overwrite this setting on save).
* `SSH_PORT`: **22**: SSH port displayed in clone URL.
* `SSH_LISTEN_PORT`: **%(SSH\_PORT)s**: Port for the built-in SSH server.
* `DISABLE_SSH`: **false**: Disable SSH feature when it's not available.