Publish new changes in catalog [skip ci]

This commit is contained in:
sonicaj
2025-11-19 09:19:28 +00:00
parent 7c048d9b20
commit fb9624fa7e
75 changed files with 70 additions and 1 deletions

View File

@@ -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

View File

@@ -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: |

View File

@@ -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) %}