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