use consistent ssh for gitea
parent
06b15453f6
commit
f0afd446fb
|
@ -28,7 +28,7 @@ spec:
|
|||
- name: SSH_DOMAIN
|
||||
value: "git.seaturtle.pw"
|
||||
- name: SSH_PORT
|
||||
value: "22"
|
||||
value: "37122"
|
||||
- name: ROOT_URL
|
||||
value: "https://git.seaturtle.pw/"
|
||||
- name: LFS_START
|
||||
|
@ -56,7 +56,7 @@ spec:
|
|||
- name: http
|
||||
containerPort: 3000
|
||||
- name: ssh
|
||||
containerPort: 22
|
||||
containerPort: 37122
|
||||
volumes:
|
||||
- name: gitea-data
|
||||
hostPath:
|
||||
|
@ -84,7 +84,7 @@ spec:
|
|||
port: 3000
|
||||
protocol: TCP
|
||||
- name: ssh
|
||||
port: 22
|
||||
port: 37122
|
||||
protocol: TCP
|
||||
|
||||
---
|
||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
name: tcpservices
|
||||
namespace: haproxy
|
||||
data:
|
||||
22:
|
||||
pew/gitea:22
|
||||
37122:
|
||||
pew/gitea:37122
|
||||
25565:
|
||||
pew/minecraft:25565
|
||||
|
|
|
@ -22,9 +22,9 @@ controller:
|
|||
minecraft: true
|
||||
tcpPorts:
|
||||
- name: ssh
|
||||
port: 22
|
||||
targetPort: 22
|
||||
nodePort: 30022
|
||||
port: 37122
|
||||
targetPort: 37122
|
||||
nodePort: 30122
|
||||
- name: minecraft
|
||||
port: 25565
|
||||
targetPort: 25565
|
||||
|
|
Loading…
Reference in New Issue