diff --git a/apps/forgejo/deployment.yaml b/apps/forgejo/deployment.yaml index d2026ac..acbec12 100644 --- a/apps/forgejo/deployment.yaml +++ b/apps/forgejo/deployment.yaml @@ -32,6 +32,14 @@ spec: value: "1000" - name: FORGEJO__database__DB_TYPE value: "sqlite3" + - name: FORGEJO__server__START_SSH_SERVER + value: "true" + - name: FORGEJO__server__SSH_DOMAIN + value: "forgejo.jethrocotton.com" + - name: FORGEJO__server__SSH_PORT + value: "30222" + - name: FORGEJO__server__SSH_LISTEN_PORT + value: "22" volumeMounts: - name: forgejo-data mountPath: /data diff --git a/apps/forgejo/sshingress.yaml b/apps/forgejo/sshingress.yaml index 17e3ffb..bfb7cf0 100644 --- a/apps/forgejo/sshingress.yaml +++ b/apps/forgejo/sshingress.yaml @@ -8,6 +8,7 @@ spec: app: forgejo ports: - protocol: TCP - port: 222 + port: 22 targetPort: 22 + nodePort: 30222 type: NodePort