mirror of
https://github.com/MAGICGrants/truenas-apps.git
synced 2026-01-08 20:18:01 -05:00
Publish new changes in catalog [skip ci]
This commit is contained in:
@@ -38,4 +38,4 @@ sources:
|
||||
- https://github.com/lms-community/slimserver
|
||||
title: Lyrion Music Server
|
||||
train: community
|
||||
version: 1.0.27
|
||||
version: 1.0.28
|
||||
@@ -229,6 +229,71 @@ questions:
|
||||
required: true
|
||||
$ref:
|
||||
- definitions/node_bind_ip
|
||||
- variable: additional_ports
|
||||
label: Additional Ports
|
||||
schema:
|
||||
type: list
|
||||
show_if: [["host_network", "=", false]]
|
||||
items:
|
||||
- variable: port
|
||||
label: Port
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: bind_mode
|
||||
label: Port Bind Mode
|
||||
description: |
|
||||
The port bind mode.</br>
|
||||
- Publish: The port will be published on the host for external access.</br>
|
||||
- Expose: The port will be exposed for inter-container communication.</br>
|
||||
schema:
|
||||
type: string
|
||||
default: "published"
|
||||
enum:
|
||||
- value: "published"
|
||||
description: Publish port on the host for external access
|
||||
- value: "exposed"
|
||||
description: Expose port for inter-container communication
|
||||
- variable: port_number
|
||||
label: Port Number
|
||||
schema:
|
||||
type: int
|
||||
min: 1
|
||||
max: 65535
|
||||
required: true
|
||||
- variable: container_port
|
||||
label: Container Port
|
||||
schema:
|
||||
type: int
|
||||
min: 1
|
||||
max: 65535
|
||||
required: true
|
||||
- variable: protocol
|
||||
label: Protocol
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: "tcp"
|
||||
enum:
|
||||
- value: "tcp"
|
||||
description: TCP
|
||||
- value: "udp"
|
||||
description: UDP
|
||||
- variable: host_ips
|
||||
label: Host IPs
|
||||
description: IPs on the host to bind this port
|
||||
schema:
|
||||
type: list
|
||||
show_if: [["bind_mode", "=", "published"]]
|
||||
default: []
|
||||
items:
|
||||
- variable: host_ip
|
||||
label: Host IP
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
$ref:
|
||||
- definitions/node_bind_ip
|
||||
- variable: host_network
|
||||
label: Host Network
|
||||
description: |
|
||||
@@ -20,6 +20,10 @@
|
||||
{% do c1.add_port(values.network.discovery_port, {"protocol": "udp"}) %}
|
||||
{% endif %}
|
||||
|
||||
{% for port in values.network.additional_ports %}
|
||||
{% do c1.add_port(port) %}
|
||||
{% endfor %}
|
||||
|
||||
{% do c1.add_storage("/config", values.storage.config) %}
|
||||
{% do c1.add_storage("/music", values.storage.music) %}
|
||||
{% do c1.add_storage("/playlist", values.storage.playlist) %}
|
||||
Reference in New Issue
Block a user