fix(universal-media-server): fix port and code (#3829)

This commit is contained in:
Xstar97
2022-09-21 10:14:43 +02:00
committed by GitHub
parent 3f38ff1803
commit 077a117a76
3 changed files with 56 additions and 51 deletions
@@ -1,17 +1,11 @@
annotations:
truecharts.org/SCALE-support: "true"
truecharts.org/catagories: |
- MediaServer-Video
- MediaServer-Music
- MediaServer-Photos
apiVersion: v2 apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: universal-media-server
version: 0.0.28
appVersion: "latest" appVersion: "latest"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.5.10
deprecated: false
description: "Universal Media Server is a DLNA-compliant UPnP Media Server. It is capable of sharing video, audio and images between most modern devices. It was originally based on PS3 Media Server by shagrath, in order to ensure greater stability and file-compatibility." description: "Universal Media Server is a DLNA-compliant UPnP Media Server. It is capable of sharing video, audio and images between most modern devices. It was originally based on PS3 Media Server by shagrath, in order to ensure greater stability and file-compatibility."
type: application
deprecated: false
home: https://truecharts.org/docs/charts/incubator/universal-media-server home: https://truecharts.org/docs/charts/incubator/universal-media-server
icon: https://truecharts.org/img/hotlink-ok/chart-icons/universal-media-server.png icon: https://truecharts.org/img/hotlink-ok/chart-icons/universal-media-server.png
keywords: keywords:
@@ -19,15 +13,23 @@ keywords:
- MediaServer-Video - MediaServer-Video
- MediaServer-Music - MediaServer-Music
- MediaServer-Photos - MediaServer-Photos
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: universal-media-server
sources: sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/universal-media-server - https://github.com/truecharts/charts/tree/master/charts/incubator/universal-media-server
- https://www.universalmediaserver.com/ - https://www.universalmediaserver.com/
- https://hub.docker.com/r/universalmediaserver/ums - https://hub.docker.com/r/universalmediaserver/ums
type: application dependencies:
version: 0.0.27 - name: common
repository: https://library-charts.truecharts.org
version: 10.5.10
# condition:
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
annotations:
truecharts.org/catagories: |
- MediaServer-Video
- MediaServer-Music
- MediaServer-Photos
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
@@ -43,17 +43,17 @@ questions:
schema: schema:
type: int type: int
default: 9001 default: 9001
- variable: port5002 - variable: api
label: 'port5002 service' label: 'API service'
description: "Container Port 5002" description: "Container Port API"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
# Include{serviceSelectorLoadBalancer} # Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras} # Include{serviceSelectorExtras}
- variable: port5002 - variable: api
label: "port5002 Service Port Configuration" label: "API Service Port Configuration"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -63,7 +63,7 @@ questions:
description: "This port exposes the container port on the service" description: "This port exposes the container port on the service"
schema: schema:
type: int type: int
default: 5002 default: 5001
required: true required: true
# Include{advancedPortTCP} # Include{advancedPortTCP}
- variable: targetPort - variable: targetPort
@@ -71,18 +71,18 @@ questions:
description: "The internal(!) port on the container the Application runs on" description: "The internal(!) port on the container the Application runs on"
schema: schema:
type: int type: int
default: 5002 default: 5001
- variable: port1044 - variable: sub
label: 'port1044 service' label: 'Sub service'
description: "Container Port 1044" description: "Container Port Sub"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
# Include{serviceSelectorLoadBalancer} # Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras} # Include{serviceSelectorExtras}
- variable: port1044 - variable: sub
label: "port1044 Service Port Configuration" label: "Sub Service Port Configuration"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -106,18 +106,18 @@ questions:
# Include{serviceExpert} # Include{serviceExpert}
# Include{serviceList} # Include{serviceList}
# Include{persistenceRoot} # Include{persistenceRoot}
- variable: media - variable: config
label: "media Storage" label: "config Storage"
description: "Container Path media" description: "Container Path root.configUMS"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
# Include{persistenceBasic} # Include{persistenceBasic}
# Include{persistenceAdvanced} # Include{persistenceAdvanced}
- variable: config - variable: media
label: "config Storage" label: "media Storage"
description: "Container Path root.configUMS" description: "Container Path media"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -1,21 +1,16 @@
env: {}
image: image:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
repository: tccr.io/truecharts/universal-media-server repository: tccr.io/truecharts/universal-media-server
tag: latest@sha256:3521d5a9b0f85f740c7450df35a9a03acd66f5b889ce5539837cb60e60b99a70 tag: latest@sha256:3521d5a9b0f85f740c7450df35a9a03acd66f5b889ce5539837cb60e60b99a70
persistence:
config:
enabled: true
mountPath: /root/.config/UMS/
media:
enabled: true
mountPath: /media
podSecurityContext: podSecurityContext:
runAsGroup: 0 runAsGroup: 0
runAsUser: 0 runAsUser: 0
securityContext: securityContext:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsNonRoot: false runAsNonRoot: false
service: service:
main: main:
ports: ports:
@@ -23,22 +18,30 @@ service:
port: 9001 port: 9001
protocol: HTTP protocol: HTTP
targetPort: 9001 targetPort: 9001
port1044: sub:
enabled: true enabled: true
ports: ports:
port1044: sub:
enabled: true enabled: true
port: 1044 port: 1044
protocol: TCP protocol: TCP
targetPort: 1044 targetPort: 1044
port5002: api:
enabled: true enabled: true
ports: ports:
port5002: api:
enabled: true enabled: true
port: 5002 port: 5001
protocol: TCP protocol: TCP
targetPort: 5002 targetPort: 5001
persistence:
config:
enabled: true
mountPath: /root/.config/UMS/
media:
enabled: true
mountPath: /media
portal: portal:
enabled: true enabled: true