]> source.dussan.org Git - gitea.git/commitdiff
Inform user of how disable SSH feature when installing using Docker (#13180)
authorAmoo Hesam <hesamgholami@yahoo.com>
Thu, 22 Oct 2020 04:24:20 +0000 (07:54 +0330)
committerGitHub <noreply@github.com>
Thu, 22 Oct 2020 04:24:20 +0000 (00:24 -0400)
docs/content/doc/installation/with-docker.en-us.md

index 25ab720a3e802f7ed801c16adc2d95bccbdb61c6..8773e34872d9abfcd52fad93a592ee40bf648288 100644 (file)
@@ -262,7 +262,7 @@ You can configure some of Gitea's settings via environment variables:
 * `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.
+* `DISABLE_SSH`: **false**: Disable SSH feature when it's not available. If you want to disable SSH feature, you should set SSH port to `0` when installing Gitea.
 * `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).
 * `LFS_START_SERVER`: **false**: Enables git-lfs support.