Files
michaelschiemer/deployment/stacks/traefik/dynamic/gitea-ssh.yml
Michael Schiemer cf903f2582 fix(traefik): update local dev ports and gitea SSH IP
- Change Traefik local HTTP port from 8080 to 8081 (conflict with cadvisor)
- Change Traefik dashboard port to 8093 (conflicts with cadvisor, Hyperion)
- Update Gitea SSH service IP from 172.23.0.2 to 172.23.0.3
- Note: Gitea SSH works directly via Docker port mapping in local dev
- Traefik TCP routing only needed for production (host network mode)
2025-11-05 14:51:37 +01:00

21 lines
594 B
YAML

# TCP Router Configuration for Gitea SSH
# Routes SSH traffic on port 2222 to Gitea container
tcp:
routers:
gitea-ssh:
entryPoints:
- gitea-ssh
rule: "HostSNI(`*`)"
service: gitea-ssh-service
services:
gitea-ssh-service:
loadBalancer:
servers:
# Gitea container SSH service
# Note: Using container IP from gitea_gitea-internal network
# Traefik runs in host network mode, so we need the actual container IP
# IP address: 172.23.0.3 (gitea_gitea-internal network)
- address: "172.23.0.3:22"