fix(odi-nds): Fix main ports/questions (#11884)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
StevenMcElligott
2023-08-26 13:03:59 -04:00
committed by GitHub
parent f604a8b0bb
commit f6f94dd269
3 changed files with 81 additions and 24 deletions
+9 -9
View File
@@ -1,10 +1,3 @@
annotations:
truecharts.org/SCALE-support: "true"
truecharts.org/catagories: |
- GameServers
- Productivity
- MediaApp-Video
- MediaServer-Video
apiVersion: v2 apiVersion: v2
appVersion: "latest" appVersion: "latest"
dependencies: dependencies:
@@ -12,7 +5,7 @@ dependencies:
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
version: 14.0.1 version: 14.0.1
deprecated: false deprecated: false
description: "This container is based on bb12489/gui-Chart &amp;amp;amp; bb12489/Chart-obs. The OBS with NDI is incorporated into the container and can be used to stream your desktop. The main reason for this fork is to update the Chart and add it to the TrueNAS app store.&amp;#xD;" description: Docker Open Broadcaster Software (obs).
home: https://truecharts.org/charts/incubator/obs-ndi home: https://truecharts.org/charts/incubator/obs-ndi
icon: https://truecharts.org/img/hotlink-ok/chart-icons/obs-ndi.png icon: https://truecharts.org/img/hotlink-ok/chart-icons/obs-ndi.png
keywords: keywords:
@@ -31,4 +24,11 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/obs-ndi - https://github.com/truecharts/charts/tree/master/charts/incubator/obs-ndi
- https://github.com/patrickstigler/docker-obs-ndi - https://github.com/patrickstigler/docker-obs-ndi
type: application type: application
version: 3.0.0 version: 3.0.1
annotations:
truecharts.org/SCALE-support: "true"
truecharts.org/catagories: |
- GameServers
- Productivity
- MediaApp-Video
- MediaServer-Video
+45
View File
@@ -27,6 +27,7 @@ questions:
type: string type: string
default: "123456" default: "123456"
# Include{containerConfig} # Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
label: "Main Service" label: "Main Service"
@@ -39,6 +40,50 @@ questions:
# Include{serviceSelectorExtras} # Include{serviceSelectorExtras}
- variable: main - variable: main
label: "Main Service Port Configuration" label: "Main Service Port Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 6901
required: true
- variable: websocket
label: "websocket Service"
description: "The websocket service"
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: websocket
label: "websocket Service Port Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 4455
required: true
- variable: vnc
label: "vnc Service"
description: "The vnc service"
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: vnc
label: "vnc Service Port Configuration"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
+14 -2
View File
@@ -33,9 +33,21 @@ service:
main: main:
ports: ports:
main: main:
port: 5901 port: 6901
protocol: http protocol: http
targetPort: 5901 targetPort: 6901
websocket:
enabled: true
ports:
websocket:
enabled: true
port: 4455
vnc:
enabled: true
ports:
vnc:
enabled: true
port: 5901
persistence: persistence:
configpath: configpath: