This commit is contained in:
Adolfo Delorenzo 2023-01-21 00:14:28 +00:00
parent e520f49d55
commit f7f297485d
2 changed files with 24 additions and 27 deletions

View File

@ -2,9 +2,9 @@ version: '3.3'
services: services:
rtmp-adr: rtmp-adr:
ports: ports:
- '1935:1935' - '31935:1935'
- '8080:8080' - '31080:8080'
- '80:80' - '30080:80'
image: 'git.oe74.net/adelorenzo/rtmp-adr:0.3' image: 'git.oe74.net/adelorenzo/rtmp-adr:0.3'
labels: labels:
kompose.service.type: nodeport kompose.service.type: nodeport

View File

@ -4,29 +4,26 @@ items:
kind: Service kind: Service
metadata: metadata:
annotations: annotations:
kompose.cmd: kompose convert -o rtmp-adr.yaml kompose.cmd: kompose convert -f docker-compose.yaml -o rtmp-adr.yaml
kompose.service.type: nodeport kompose.service.type: nodeport
kompose.version: 1.27.0 (b0ed6a2c9) kompose.version: 1.27.0 (b0ed6a2c9)
creationTimestamp: null creationTimestamp: null
labels: labels:
io.kompose.service: adelorenzo io.kompose.service: rtmp-adr
name: adelorenzo name: rtmp-adr
spec: spec:
ports: ports:
- name: rtmp - name: "31935"
port: 1935 port: 31935
# targetPort: 1935 targetPort: 1935
nodePort: 31935 - name: "31080"
- name: hls-dash port: 31080
port: 8080 targetPort: 8080
# targetPort: 8080 - name: "30080"
nodePort: 31080 port: 30080
- name: http targetPort: 80
port: 80
# targetPort: 80
nodePort: 30080
selector: selector:
io.kompose.service: adelorenzo io.kompose.service: rtmp-adr
type: NodePort type: NodePort
status: status:
loadBalancer: {} loadBalancer: {}
@ -34,32 +31,32 @@ items:
kind: Deployment kind: Deployment
metadata: metadata:
annotations: annotations:
kompose.cmd: kompose convert -o rtmp-adr.yaml kompose.cmd: kompose convert -f docker-compose.yaml -o rtmp-adr.yaml
kompose.service.type: nodeport kompose.service.type: nodeport
kompose.version: 1.27.0 (b0ed6a2c9) kompose.version: 1.27.0 (b0ed6a2c9)
creationTimestamp: null creationTimestamp: null
labels: labels:
io.kompose.service: adelorenzo io.kompose.service: rtmp-adr
name: adelorenzo name: rtmp-adr
spec: spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
io.kompose.service: adelorenzo io.kompose.service: rtmp-adr
strategy: {} strategy: {}
template: template:
metadata: metadata:
annotations: annotations:
kompose.cmd: kompose convert -o rtmp-adr.yaml kompose.cmd: kompose convert -f docker-compose.yaml -o rtmp-adr.yaml
kompose.service.type: nodeport kompose.service.type: nodeport
kompose.version: 1.27.0 (b0ed6a2c9) kompose.version: 1.27.0 (b0ed6a2c9)
creationTimestamp: null creationTimestamp: null
labels: labels:
io.kompose.service: adelorenzo io.kompose.service: rtmp-adr
spec: spec:
containers: containers:
- image: git.oe74.net/adelorenzo/rtmp-adr:0.6 - image: git.oe74.net/adelorenzo/rtmp-adr:0.3
name: adelorenzo name: rtmp-adr
ports: ports:
- containerPort: 1935 - containerPort: 1935
- containerPort: 8080 - containerPort: 8080