From 5d3fa7618bd82fcea7a2246ce6123005cd46ef30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sat, 15 Nov 2025 13:07:49 +0100 Subject: [PATCH] fix: expose Gitea SSH port 2222 and update SSH_PORT setting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add ports mapping to expose SSH port 2222 on host - Change SSH_PORT from 22 to 2222 for correct clone URL display - Gitea will now show git@dev.pivoine.art:2222/user/repo.git in UI 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- dev/compose.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev/compose.yaml b/dev/compose.yaml index d37c66a..428fd70e 100644 --- a/dev/compose.yaml +++ b/dev/compose.yaml @@ -6,6 +6,8 @@ services: restart: unless-stopped depends_on: - gitea_runner + ports: + - "2222:2222" volumes: - gitea_data:/data - gitea_config:/etc/gitea @@ -27,7 +29,7 @@ services: GITEA__server__PROTOCOL: http GITEA__server__HTTP_PORT: 3000 GITEA__server__START_SSH_SERVER: true - GITEA__server__SSH_PORT: 22 + GITEA__server__SSH_PORT: 2222 GITEA__server__SSH_LISTEN_PORT: 2222 GITEA__mailer__ENABLED: true GITEA__mailer__PROTOCOL: smtps