Modify Gitea for SSH support

This commit is contained in:
Fabio Scotto di Santolo
2025-12-02 11:15:56 +01:00
parent 1cb60751b0
commit 908a43aa1d

View File

@@ -69,8 +69,8 @@ services:
image: docker.gitea.com/gitea:1.25.2
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
- USER_UID=1100
- USER_GID=1100
restart: always
networks:
- gitea
@@ -78,9 +78,10 @@ services:
- /opt/gitea/data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- /home/git/.ssh:/data/git/.ssh
ports:
- "3000:3000"
- "222:22"
- "127.0.0.1:222:22"
networks:
web: