modified gitea to work with ssh-passthrough per https://docs.gitea.io/en-us/install-with-docker/

This commit is contained in:
2021-05-06 18:55:09 +02:00
parent 302466715f
commit 1ada55cb04

View File

@ -5,8 +5,8 @@ services:
image: gitea/gitea:1.13.7 image: gitea/gitea:1.13.7
container_name: gitea container_name: gitea
environment: environment:
- USER_UID=1000 - USER_UID=2000
- USER_GID=1000 - USER_GID=2000
restart: always restart: always
networks: networks:
- gitea - gitea
@ -14,9 +14,10 @@ services:
- /srv/gitea:/data - /srv/gitea:/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:
- "3300:3000" - "3300:3000"
- "3322:22" - "127.0.0.1:3322:22"
networks: networks:
gitea: gitea: