Gitea: add SSH port 2222, fix Traefik network, update SSH docs
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user