fix: re-enable Gitea SSH, expose on port 2222
SSH is needed for git operations (git@server:repo.git). HTTP stays localhost-only (accessed via SSH tunnel for UI). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -5,10 +5,10 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:3100:3000"
|
- "127.0.0.1:3100:3000"
|
||||||
|
- "2222:22"
|
||||||
volumes:
|
volumes:
|
||||||
- /data/server-infra/gitea:/data
|
- /data/server-infra/gitea:/data
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
environment:
|
environment:
|
||||||
- GITEA__database__DB_TYPE=sqlite3
|
- GITEA__database__DB_TYPE=sqlite3
|
||||||
- GITEA__server__SSH_DISABLED=true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user