# 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 traefik-public network # Traefik runs in host network mode, so we need the actual container IP # IP address: 172.23.0.2 (traefik-public network) - address: "172.23.0.2:22"