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