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