From d010774f451f59c445992cd442c01df8c21a0aae Mon Sep 17 00:00:00 2001 From: DeadSwitch Date: Mon, 9 Feb 2026 15:32:23 +0100 Subject: [PATCH] SSH port is configurable for the template. --- README.org | 3 ++- templates/app.ini.j2 | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 64e6bc6..629f1b2 100644 --- a/README.org +++ b/README.org @@ -48,7 +48,8 @@ The remaining variables must be declared in the inventory. | gitea_ssh_domain | string | SSH domain | | gitea_domain | string | Domain to reach Gitea | | gitea_http_port | int | Gitea HTTP port | -| gitea_root_url | string | Protocoll + FQDN | +| gitea_ssh_prt | int | Gitea SSH port | +| gitea_root_url | string | Protocol + FQDN | | gitea_lfs_jwt_secret | string | LFS storage secret | | gitea_internal_token | string | Internal token | | gitea_jwt_secret | string | JWT secret | diff --git a/templates/app.ini.j2 b/templates/app.ini.j2 index 721f976..39d1598 100644 --- a/templates/app.ini.j2 +++ b/templates/app.ini.j2 @@ -26,7 +26,7 @@ HTTP_PORT = {{ gitea_http_port }} ROOT_URL = {{ gitea_root_url }} APP_DATA_PATH = /var/lib/gitea/data DISABLE_SSH = false -SSH_PORT = 22 +SSH_PORT = {{ gitea_ssh_port }} LFS_START_SERVER = true LFS_JWT_SECRET = {{ gitea_lfs_jwt_secret }} OFFLINE_MODE = true