questions.yaml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577
  1. groups:
  2. - name: Wyze Bridge Configuration
  3. description: Configure Wyze Bridge
  4. - name: Network Configuration
  5. description: Configure Network for Wyze Bridge
  6. - name: Storage Configuration
  7. description: Configure Storage for Wyze Bridge
  8. - name: Labels Configuration
  9. description: Configure Labels for Wyze Bridge
  10. - name: Resources Configuration
  11. description: Configure Resources for Wyze Bridge
  12. questions:
  13. - variable: TZ
  14. group: Wyze Bridge Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: wyze
  23. label: ""
  24. group: Wyze Bridge Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: wb_auth
  29. label: Wyze Bridge Authentication Enabled
  30. description: Wyze Bridge Authentication Enabled
  31. schema:
  32. type: boolean
  33. default: true
  34. required: true
  35. - variable: wb_username
  36. label: Wyze Bridge Username
  37. description: The Wyze Bridge UI username.
  38. schema:
  39. type: string
  40. default: wbadmin
  41. show_if: [["wb_auth", "=", true]]
  42. - variable: wb_password
  43. label: Wyze Bridge Password
  44. description: The Wyze Bridge UI password.
  45. schema:
  46. type: string
  47. default: wbadmin
  48. show_if: [["wb_auth", "=", true]]
  49. - variable: enable_audio
  50. label: Enable Camera Audio
  51. description: Optional - Enable Audio from Cameras
  52. schema:
  53. type: boolean
  54. default: false
  55. - variable: additional_envs
  56. label: Additional Environment Variables
  57. schema:
  58. type: list
  59. default: []
  60. items:
  61. - variable: env
  62. label: Environment Variable
  63. schema:
  64. type: dict
  65. attrs:
  66. - variable: name
  67. label: Name
  68. schema:
  69. type: string
  70. required: true
  71. - variable: value
  72. label: Value
  73. schema:
  74. type: string
  75. - variable: network
  76. label: ""
  77. group: Network Configuration
  78. schema:
  79. type: dict
  80. attrs:
  81. - variable: web_port
  82. label: WebUI Port
  83. schema:
  84. type: dict
  85. attrs:
  86. - variable: bind_mode
  87. label: Port Bind Mode
  88. description: |
  89. The port bind mode.</br>
  90. - Publish: The port will be published on the host for external access.</br>
  91. - Expose: The port will be exposed for inter-container communication.</br>
  92. - None: The port will not be exposed or published.</br>
  93. Note: If the Dockerfile defines an EXPOSE directive,
  94. the port will still be exposed for inter-container communication regardless of this setting.
  95. schema:
  96. type: string
  97. default: "published"
  98. enum:
  99. - value: "published"
  100. description: Publish port on the host for external access
  101. - value: "exposed"
  102. description: Expose port for inter-container communication
  103. - value: ""
  104. description: None
  105. - variable: port_number
  106. label: Port Number
  107. schema:
  108. type: int
  109. default: 31061
  110. min: 1
  111. max: 65535
  112. required: true
  113. - variable: rtmp_port
  114. label: RTMP Port
  115. schema:
  116. type: dict
  117. attrs:
  118. - variable: bind_mode
  119. label: Port Bind Mode
  120. description: |
  121. The port bind mode.</br>
  122. - Publish: The port will be published on the host for external access.</br>
  123. - Expose: The port will be exposed for inter-container communication.</br>
  124. - None: The port will not be exposed or published.</br>
  125. Note: If the Dockerfile defines an EXPOSE directive,
  126. the port will still be exposed for inter-container communication regardless of this setting.
  127. schema:
  128. type: string
  129. default: "published"
  130. enum:
  131. - value: "published"
  132. description: Publish port on the host for external access
  133. - value: "exposed"
  134. description: Expose port for inter-container communication
  135. - value: ""
  136. description: None
  137. - variable: port_number
  138. label: Port Number
  139. schema:
  140. type: int
  141. show_if: [["bind_mode", "=", "published"]]
  142. default: 31062
  143. min: 1
  144. max: 65535
  145. required: true
  146. - variable: rtsp_port
  147. label: RTSP Port
  148. schema:
  149. type: dict
  150. attrs:
  151. - variable: bind_mode
  152. label: Port Bind Mode
  153. description: |
  154. The port bind mode.</br>
  155. - Publish: The port will be published on the host for external access.</br>
  156. - Expose: The port will be exposed for inter-container communication.</br>
  157. - None: The port will not be exposed or published.</br>
  158. Note: If the Dockerfile defines an EXPOSE directive,
  159. the port will still be exposed for inter-container communication regardless of this setting.
  160. schema:
  161. type: string
  162. default: "published"
  163. enum:
  164. - value: "published"
  165. description: Publish port on the host for external access
  166. - value: "exposed"
  167. description: Expose port for inter-container communication
  168. - value: ""
  169. description: None
  170. - variable: port_number
  171. label: Port Number
  172. schema:
  173. type: int
  174. show_if: [["bind_mode", "=", "published"]]
  175. default: 31063
  176. min: 1
  177. max: 65535
  178. required: true
  179. - variable: hls_port
  180. label: HLS Port
  181. schema:
  182. type: dict
  183. attrs:
  184. - variable: bind_mode
  185. label: Port Bind Mode
  186. description: |
  187. The port bind mode.</br>
  188. - Publish: The port will be published on the host for external access.</br>
  189. - Expose: The port will be exposed for inter-container communication.</br>
  190. - None: The port will not be exposed or published.</br>
  191. Note: If the Dockerfile defines an EXPOSE directive,
  192. the port will still be exposed for inter-container communication regardless of this setting.
  193. schema:
  194. type: string
  195. default: "published"
  196. enum:
  197. - value: "published"
  198. description: Publish port on the host for external access
  199. - value: "exposed"
  200. description: Expose port for inter-container communication
  201. - value: ""
  202. description: None
  203. - variable: port_number
  204. label: Port Number
  205. schema:
  206. type: int
  207. show_if: [["bind_mode", "=", "published"]]
  208. default: 31064
  209. min: 1
  210. max: 65535
  211. required: true
  212. - variable: enable_webrtc
  213. label: Enable WebRTC
  214. description: Optional - Enable WebRTC for Wyze Bridge
  215. schema:
  216. type: boolean
  217. default: false
  218. - variable: webrtc_ip
  219. label: WebRTC IP
  220. description: Set this to the host IP to enable a WebRTC stream on port 8889
  221. schema:
  222. type: ipaddr
  223. default: ""
  224. show_if: [["enable_webrtc", "=", true]]
  225. - variable: webrtc_port
  226. label: WebRTC Port
  227. schema:
  228. type: dict
  229. show_if: [["enable_webrtc", "=", true]]
  230. attrs:
  231. - variable: bind_mode
  232. label: Port Bind Mode
  233. description: |
  234. The port bind mode.</br>
  235. - Publish: The port will be published on the host for external access.</br>
  236. - Expose: The port will be exposed for inter-container communication.</br>
  237. - None: The port will not be exposed or published.</br>
  238. Note: If the Dockerfile defines an EXPOSE directive,
  239. the port will still be exposed for inter-container communication regardless of this setting.
  240. schema:
  241. type: string
  242. default: "published"
  243. enum:
  244. - value: "published"
  245. description: Publish port on the host for external access
  246. - value: "exposed"
  247. description: Expose port for inter-container communication
  248. - value: ""
  249. description: None
  250. - variable: port_number
  251. label: Port Number
  252. schema:
  253. type: int
  254. show_if: [["bind_mode", "=", "published"]]
  255. default: 31065
  256. min: 1
  257. max: 65535
  258. required: true
  259. - variable: webrtc_ice_port
  260. label: WebRTC/ICE Port
  261. schema:
  262. type: dict
  263. show_if: [["enable_webrtc", "=", true]]
  264. attrs:
  265. - variable: bind_mode
  266. label: Port Bind Mode
  267. description: |
  268. The port bind mode.</br>
  269. - Publish: The port will be published on the host for external access.</br>
  270. - Expose: The port will be exposed for inter-container communication.</br>
  271. - None: The port will not be exposed or published.</br>
  272. Note: If the Dockerfile defines an EXPOSE directive,
  273. the port will still be exposed for inter-container communication regardless of this setting.
  274. schema:
  275. type: string
  276. default: "published"
  277. enum:
  278. - value: "published"
  279. description: Publish port on the host for external access
  280. - value: "exposed"
  281. description: Expose port for inter-container communication
  282. - value: ""
  283. description: None
  284. - variable: port_number
  285. label: Port Number
  286. schema:
  287. type: int
  288. show_if: [["bind_mode", "=", "published"]]
  289. default: 31066
  290. min: 1
  291. max: 65535
  292. required: true
  293. - variable: host_network
  294. label: Host Network
  295. description: |
  296. Bind to the host network. It's recommended to keep this disabled.
  297. schema:
  298. type: boolean
  299. default: false
  300. - variable: storage
  301. label: ""
  302. group: Storage Configuration
  303. schema:
  304. type: dict
  305. attrs:
  306. - variable: data
  307. label: wyze bridge Data Storage
  308. description: The path to store wyze bridge Data.
  309. schema:
  310. type: dict
  311. attrs:
  312. - variable: type
  313. label: Type
  314. description: |
  315. ixVolume: Is dataset created automatically by the system.</br>
  316. Host Path: Is a path that already exists on the system.
  317. schema:
  318. type: string
  319. required: true
  320. default: "ix_volume"
  321. enum:
  322. - value: "host_path"
  323. description: Host Path (Path that already exists on the system)
  324. - value: "ix_volume"
  325. description: ixVolume (Dataset created automatically by the system)
  326. - variable: ix_volume_config
  327. label: ixVolume Configuration
  328. description: The configuration for the ixVolume dataset.
  329. schema:
  330. type: dict
  331. show_if: [["type", "=", "ix_volume"]]
  332. $ref:
  333. - "normalize/ix_volume"
  334. attrs:
  335. - variable: acl_enable
  336. label: Enable ACL
  337. description: Enable ACL for the storage.
  338. schema:
  339. type: boolean
  340. default: false
  341. - variable: dataset_name
  342. label: Dataset Name
  343. description: The name of the dataset to use for storage.
  344. schema:
  345. type: string
  346. required: true
  347. hidden: true
  348. default: "data"
  349. - variable: acl_entries
  350. label: ACL Configuration
  351. schema:
  352. type: dict
  353. show_if: [["acl_enable", "=", true]]
  354. attrs: []
  355. - variable: host_path_config
  356. label: Host Path Configuration
  357. schema:
  358. type: dict
  359. show_if: [["type", "=", "host_path"]]
  360. attrs:
  361. - variable: acl_enable
  362. label: Enable ACL
  363. description: Enable ACL for the storage.
  364. schema:
  365. type: boolean
  366. default: false
  367. - variable: acl
  368. label: ACL Configuration
  369. schema:
  370. type: dict
  371. show_if: [["acl_enable", "=", true]]
  372. attrs: []
  373. $ref:
  374. - "normalize/acl"
  375. - variable: path
  376. label: Host Path
  377. description: The host path to use for storage.
  378. schema:
  379. type: hostpath
  380. show_if: [["acl_enable", "=", false]]
  381. required: true
  382. - variable: additional_storage
  383. label: Additional Storage
  384. schema:
  385. type: list
  386. default: []
  387. items:
  388. - variable: storageEntry
  389. label: Storage Entry
  390. schema:
  391. type: dict
  392. attrs:
  393. - variable: type
  394. label: Type
  395. description: |
  396. ixVolume: Is dataset created automatically by the system.</br>
  397. Host Path: Is a path that already exists on the system.</br>
  398. SMB Share: Is a SMB share that is mounted to as a volume.
  399. schema:
  400. type: string
  401. required: true
  402. default: "ix_volume"
  403. enum:
  404. - value: "host_path"
  405. description: Host Path (Path that already exists on the system)
  406. - value: "ix_volume"
  407. description: ixVolume (Dataset created automatically by the system)
  408. - value: "cifs"
  409. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  410. - variable: read_only
  411. label: Read Only
  412. description: Mount the volume as read only.
  413. schema:
  414. type: boolean
  415. default: false
  416. - variable: mount_path
  417. label: Mount Path
  418. description: The path inside the container to mount the storage.
  419. schema:
  420. type: path
  421. required: true
  422. - variable: host_path_config
  423. label: Host Path Configuration
  424. schema:
  425. type: dict
  426. show_if: [["type", "=", "host_path"]]
  427. attrs:
  428. - variable: acl_enable
  429. label: Enable ACL
  430. description: Enable ACL for the storage.
  431. schema:
  432. type: boolean
  433. default: false
  434. - variable: acl
  435. label: ACL Configuration
  436. schema:
  437. type: dict
  438. show_if: [["acl_enable", "=", true]]
  439. attrs: []
  440. $ref:
  441. - "normalize/acl"
  442. - variable: path
  443. label: Host Path
  444. description: The host path to use for storage.
  445. schema:
  446. type: hostpath
  447. show_if: [["acl_enable", "=", false]]
  448. required: true
  449. - variable: ix_volume_config
  450. label: ixVolume Configuration
  451. description: The configuration for the ixVolume dataset.
  452. schema:
  453. type: dict
  454. show_if: [["type", "=", "ix_volume"]]
  455. $ref:
  456. - "normalize/ix_volume"
  457. attrs:
  458. - variable: acl_enable
  459. label: Enable ACL
  460. description: Enable ACL for the storage.
  461. schema:
  462. type: boolean
  463. default: false
  464. - variable: dataset_name
  465. label: Dataset Name
  466. description: The name of the dataset to use for storage.
  467. schema:
  468. type: string
  469. required: true
  470. default: "storage_entry"
  471. - variable: acl_entries
  472. label: ACL Configuration
  473. schema:
  474. type: dict
  475. show_if: [["acl_enable", "=", true]]
  476. attrs: []
  477. $ref:
  478. - "normalize/acl"
  479. - variable: cifs_config
  480. label: SMB Configuration
  481. description: The configuration for the SMB dataset.
  482. schema:
  483. type: dict
  484. show_if: [["type", "=", "cifs"]]
  485. attrs:
  486. - variable: server
  487. label: Server
  488. description: The server to mount the SMB share.
  489. schema:
  490. type: string
  491. required: true
  492. - variable: path
  493. label: Path
  494. description: The path to mount the SMB share.
  495. schema:
  496. type: string
  497. required: true
  498. - variable: username
  499. label: Username
  500. description: The username to use for the SMB share.
  501. schema:
  502. type: string
  503. required: true
  504. - variable: password
  505. label: Password
  506. description: The password to use for the SMB share.
  507. schema:
  508. type: string
  509. required: true
  510. private: true
  511. - variable: domain
  512. label: Domain
  513. description: The domain to use for the SMB share.
  514. schema:
  515. type: string
  516. - variable: labels
  517. label: ""
  518. group: Labels Configuration
  519. schema:
  520. type: list
  521. default: []
  522. items:
  523. - variable: label
  524. label: Label
  525. schema:
  526. type: dict
  527. attrs:
  528. - variable: key
  529. label: Key
  530. schema:
  531. type: string
  532. required: true
  533. - variable: value
  534. label: Value
  535. schema:
  536. type: string
  537. required: true
  538. - variable: containers
  539. label: Containers
  540. description: Containers where the label should be applied
  541. schema:
  542. type: list
  543. items:
  544. - variable: container
  545. label: Container
  546. schema:
  547. type: string
  548. required: true
  549. enum:
  550. - value: wyze-bridge
  551. description: wyze-bridge
  552. - variable: resources
  553. label: ""
  554. group: Resources Configuration
  555. schema:
  556. type: dict
  557. attrs:
  558. - variable: limits
  559. label: Limits
  560. schema:
  561. type: dict
  562. attrs:
  563. - variable: cpus
  564. label: CPUs
  565. description: CPUs limit for wyze bridge.
  566. schema:
  567. type: int
  568. default: 2
  569. required: true
  570. - variable: memory
  571. label: Memory (in MB)
  572. description: Memory limit for wyze bridge.
  573. schema:
  574. type: int
  575. default: 4096
  576. required: true