You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix issue whereby setting SSH_PORT, for the purpose of constructing a superficial git-clone URL, would implicitly also set SSH_LISTEN_PORT that the SSH service listens on, if the latter is not explicitly configured.
Copy file name to clipboardExpand all lines: docs/content/doc/installation/with-docker.en-us.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -244,8 +244,8 @@ You can configure some of Gitea's settings via environment variables:
244
244
*`APP_NAME`: **"Gitea: Git with a cup of tea"**: Application name, used in the page title.
245
245
*`RUN_MODE`: **dev**: For performance and other purposes, change this to `prod` when deployed to a production environment.
246
246
*`SSH_DOMAIN`: **localhost**: Domain name of this server, used for the displayed clone URL in Gitea's UI.
247
-
*`SSH_PORT`: **22**: SSH port displayed in clone URL.
248
-
*`SSH_LISTEN_PORT`: **%(SSH\_PORT)s**: Port for the built-in SSH server.
247
+
*`SSH_LISTEN_PORT`: **22**: Port for the built-in SSH server.
248
+
*`SSH_PORT`: **%(SSH\_LISTEN\_PORT)s**: SSH port displayed in clone URL.
249
249
*`DISABLE_SSH`: **false**: Disable SSH feature when it's not available.
250
250
*`HTTP_PORT`: **3000**: HTTP listen port.
251
251
*`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).
0 commit comments