fix: move ssh port for gitea to 2222

This commit is contained in:
2026-01-16 17:22:47 +05:00
parent 4c1b045bb7
commit b4dfdd8c18
3 changed files with 6 additions and 22 deletions

View File

@@ -25,28 +25,11 @@ topologySpreadConstraints:
matchLabels: matchLabels:
app: traefik app: traefik
additionalArguments: additionalArguments:
- "--entryPoints.ssh.address=:22/tcp" - "--entryPoints.ssh.address=:2222/tcp"
- "--entryPoints.minecraft-gtnh.address=:25566/tcp"
- "--entryPoints.minecraft-tfg.address=:25567/tcp"
ports: ports:
ssh: ssh:
name: ssh port: 2222
port: 22 exposedPort: 2222
exposedPort: 22
expose:
default: true
protocol: TCP
minecraft-gtnh:
name: minecraft-gtnh
port: 25566
exposedPort: 25566
expose:
default: true
protocol: TCP
minecraft-tfg:
name: minecraft-tfg
port: 25567
exposedPort: 25567
expose: expose:
default: true default: true
protocol: TCP protocol: TCP

View File

@@ -79,7 +79,7 @@ export class GiteaServer extends Construct {
match: "HostSNI(`*`)", match: "HostSNI(`*`)",
entryPoint: "ssh", entryPoint: "ssh",
serviceName: `${name}-ssh`, serviceName: `${name}-ssh`,
servicePort: 22, servicePort: 2222,
}); });
new PublicIngressRoute(this, "http-ingress", { new PublicIngressRoute(this, "http-ingress", {

View File

@@ -12,6 +12,7 @@ service:
ssh: ssh:
annotations: annotations:
metallb.universe.tf/allow-shared-ip: gitea metallb.universe.tf/allow-shared-ip: gitea
port: 2222
ingress: ingress:
enabled: false enabled: false
gitea: gitea:
@@ -40,7 +41,7 @@ gitea:
SSH_DOMAIN: git.dogar.dev SSH_DOMAIN: git.dogar.dev
DISABLE_SSH: false DISABLE_SSH: false
SSH_LISTEN_PORT: 2222 SSH_LISTEN_PORT: 2222
SSH_PORT: 22 SSH_PORT: 2222
database: database:
DB_TYPE: postgres DB_TYPE: postgres
HOST: postgres-cluster-rw HOST: postgres-cluster-rw