diff --git a/frigate/config/network.py b/frigate/config/network.py index 29c52328e..f537c73b9 100644 --- a/frigate/config/network.py +++ b/frigate/config/network.py @@ -35,5 +35,7 @@ class NetworkingConfig(FrigateBaseModel): description="IPv6-specific settings for Frigate network services.", ) listen: ListenConfig = Field( - default_factory=ListenConfig, title="Listening ports configuration" + default_factory=ListenConfig, + title="Listening ports configuration", + description="Configuration for internal and external listening ports. This is for advanced users. For the majority of use cases it's recommended to change the ports section of your Docker compose file.", ) diff --git a/web/public/locales/en/config/global.json b/web/public/locales/en/config/global.json index f0b57165f..e04d71296 100644 --- a/web/public/locales/en/config/global.json +++ b/web/public/locales/en/config/global.json @@ -172,6 +172,7 @@ }, "listen": { "label": "Listening ports configuration", + "description": "Configuration for internal and external listening ports. This is for advanced users. For the majority of use cases it's recommended to change the ports section of your Docker compose file.", "internal": { "label": "Internal port", "description": "Internal listening port for Frigate (default 5000)." diff --git a/web/src/components/config-form/section-configs/networking.ts b/web/src/components/config-form/section-configs/networking.ts index c360bbaf5..289d8354b 100644 --- a/web/src/components/config-form/section-configs/networking.ts +++ b/web/src/components/config-form/section-configs/networking.ts @@ -2,10 +2,26 @@ import type { SectionConfigOverrides } from "./types"; const networking: SectionConfigOverrides = { base: { - sectionDocs: "/configuration/reference", + sectionDocs: "/configuration/advanced", + fieldDocs: { + "listen.internal": "/configuration/advanced#listen-on-different-ports", + "listen.external": "/configuration/advanced#listen-on-different-ports", + }, restartRequired: [], fieldOrder: [], advancedFields: [], + uiSchema: { + "listen.internal": { + "ui:options": { + suppressMultiSchema: true, + }, + }, + "listen.external": { + "ui:options": { + suppressMultiSchema: true, + }, + }, + }, }, };