Gitea: add SSH port 2222, fix Traefik network, update SSH docs

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-13 20:13:57 +02:00
co-authored by Cursor
parent 5014d55d62
commit df98521459
2 changed files with 55 additions and 1 deletions
+9 -1
View File
@@ -7,13 +7,21 @@ services:
- USER_UID=1000
- USER_GID=1000
- GITEA__server__ROOT_URL=https://git.zea.lt
- GITEA__server__SSH_PORT=2222
ports:
- "2222:22"
volumes:
- .:/data
networks:
- homelab
- homelab_homelab
labels:
- "traefik.enable=true"
- "traefik.docker.network=homelab_homelab"
- "traefik.http.routers.gitea.rule=Host(`git.zea.lt`)"
- "traefik.http.routers.gitea.entrypoints=websecure"
- "traefik.http.routers.gitea.tls.certresolver=leresolver"
- "traefik.http.services.gitea.loadbalancer.server.port=3000"
networks:
homelab_homelab:
external: true