fix(gitea): bind SSH explicitly to IPv4 to avoid conflict with sshd on IPv6
Docker binds to both [::]:22 and 0.0.0.0:22 without an explicit IP, conflicting with sshd on [::]:22. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ services:
|
|||||||
GITEA__ui__DEFAULT_THEME: nord
|
GITEA__ui__DEFAULT_THEME: nord
|
||||||
GITEA__ui__ENABLE_FEED: "true"
|
GITEA__ui__ENABLE_FEED: "true"
|
||||||
ports:
|
ports:
|
||||||
- "22:2222"
|
- "82.165.139.220:22:2222"
|
||||||
volumes:
|
volumes:
|
||||||
- ../.data/gitea/data:/data
|
- ../.data/gitea/data:/data
|
||||||
- ../.data/gitea/config:/etc/gitea
|
- ../.data/gitea/config:/etc/gitea
|
||||||
|
|||||||
Reference in New Issue
Block a user