infra4talos/apps-kustomized/forgejo/service.yaml

18 lines
244 B
YAML

apiVersion: v1
kind: Service
metadata:
labels:
app: forgejo
name: forgejo
spec:
ports:
- port: 80
targetPort: 3000
name: http
- port: 2222
targetPort: 22
name: ssh
selector:
app: forgejo
type: LoadBalancer