mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-10 10:33:11 +03:00
networking section docs and description
This commit is contained in:
parent
4b950723bc
commit
3a6f8aa232
@ -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.",
|
||||
)
|
||||
|
||||
@ -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)."
|
||||
|
||||
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user