mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-21 15:48:22 +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.",
|
description="IPv6-specific settings for Frigate network services.",
|
||||||
)
|
)
|
||||||
listen: ListenConfig = Field(
|
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": {
|
"listen": {
|
||||||
"label": "Listening ports configuration",
|
"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": {
|
"internal": {
|
||||||
"label": "Internal port",
|
"label": "Internal port",
|
||||||
"description": "Internal listening port for Frigate (default 5000)."
|
"description": "Internal listening port for Frigate (default 5000)."
|
||||||
|
|||||||
@ -2,10 +2,26 @@ import type { SectionConfigOverrides } from "./types";
|
|||||||
|
|
||||||
const networking: SectionConfigOverrides = {
|
const networking: SectionConfigOverrides = {
|
||||||
base: {
|
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: [],
|
restartRequired: [],
|
||||||
fieldOrder: [],
|
fieldOrder: [],
|
||||||
advancedFields: [],
|
advancedFields: [],
|
||||||
|
uiSchema: {
|
||||||
|
"listen.internal": {
|
||||||
|
"ui:options": {
|
||||||
|
suppressMultiSchema: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"listen.external": {
|
||||||
|
"ui:options": {
|
||||||
|
suppressMultiSchema: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user