Add configurable terminal port support and update translations

- Updated nginx configuration to use a placeholder for terminal port.
- Modified run.sh to read terminal port from options file and start ttyd on the specified port.
- Added terminal port configuration option in English, Bulgarian, German, and Spanish translations.
This commit is contained in:
techartdev
2026-02-05 09:57:41 +02:00
parent e6d6f62da6
commit 9e4987d25f
6 changed files with 32 additions and 7 deletions
+4
View File
@@ -7,6 +7,10 @@ configuration:
name: Активиране на уеб терминал
description: Активиране на уеб терминал бутона в Home Assistant (Ingress) чрез ttyd
terminal_port:
name: Порт на терминал
description: Номер на порт за уеб терминала (по подразбиране - 7681). Променете, ако този порт е в конфликт с друга услуга.
gateway_public_url:
name: Публичен URL на Gateway
description: Публичен базов URL за отваряне на Gateway уеб интерфейса в нов таб (не вграден). Пример - https://example.duckdns.org:12345 или http://192.168.1.10:18789
+4
View File
@@ -7,6 +7,10 @@ configuration:
name: Web-Terminal aktivieren
description: Web-Terminal-Schaltfläche in Home Assistant (Ingress) über ttyd aktivieren
terminal_port:
name: Terminal-Port
description: Portnummer für das Web-Terminal (Standard - 7681). Ändern Sie diese, wenn dieser Port mit einem anderen Dienst in Konflikt steht.
gateway_public_url:
name: Öffentliche Gateway-URL
description: Öffentliche Basis-URL zum Öffnen der Gateway-Weboberfläche in einem neuen Tab (nicht eingebettet). Beispiel - https://example.duckdns.org:12345 oder http://192.168.1.10:18789
+4
View File
@@ -7,6 +7,10 @@ configuration:
name: Enable Web Terminal
description: Enable web terminal Button inside Home Assistant (Ingress) via ttyd
terminal_port:
name: Terminal Port
description: Port number for the web terminal (default - 7681). Change if this port conflicts with another service.
gateway_public_url:
name: Gateway Public URL
description: Public base URL for opening the Gateway Web UI in a new tab (not embedded). Example - https://example.duckdns.org:12345 or http://192.168.1.10:18789
+4
View File
@@ -7,6 +7,10 @@ configuration:
name: Activar terminal web
description: Activar botón de terminal web dentro de Home Assistant (Ingress) mediante ttyd
terminal_port:
name: Puerto del terminal
description: Número de puerto para el terminal web (predeterminado - 7681). Cambie si este puerto entra en conflicto con otro servicio.
gateway_public_url:
name: URL pública del Gateway
description: URL base pública para abrir la interfaz web del Gateway en una nueva pestaña (no integrada). Ejemplo - https://example.duckdns.org:12345 o http://192.168.1.10:18789