changes for ssh passthough
[docker_gitea.git] / docker-compose.yaml
index a46ca78..2261be3 100644 (file)
@@ -11,13 +11,15 @@ services:
     environment:
       - USER_UID=895
       - USER_GID=895
+      - GITEA__server__ROOT_URL=https://blacka.com/git
     restart: always
     networks:
       - gitea
     volumes:
       - ./data:/data
+      - /var/lib/gitea/.ssh:/data/git/.ssh
       - /etc/timezone:/etc/timezone:ro
       - /etc/localtime:/etc/localtime:ro
     ports:
       - "3000:3000"
-      - "222:22"
+      - "2222:22"