questions.yaml 23 KB

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