infra/k8s/forgejo/services.yaml

24 lines
299 B
YAML
Raw Normal View History

2024-02-18 02:26:37 +00:00
apiVersion: v1
kind: Service
metadata:
name: forgejo
spec:
ports:
- name: web
port: 3000
selector:
app: forgejo
---
apiVersion: v1
kind: Service
metadata:
name: forgejo-ssh
spec:
type: NodePort
ports:
- name: ssh
port: 22
nodePort: 30001
selector:
app: forgejo