fix: expose Gitea SSH port 2222 and update SSH_PORT setting

- 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 <noreply@anthropic.com>
This commit is contained in:
2025-11-15 13:07:49 +01:00
parent 414ff269b2
commit 5d3fa7618b

View File

@@ -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