questions.yaml 24 KB

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