questions.yaml 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739
  1. groups:
  2. - name: Stirling PDF Configuration
  3. description: Configure Stirling PDF
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Stirling PDF
  6. - name: Network Configuration
  7. description: Configure Network for Stirling PDF
  8. - name: Storage Configuration
  9. description: Configure Storage for Stirling PDF
  10. - name: Labels Configuration
  11. description: Configure Labels for Stirling PDF
  12. - name: Resources Configuration
  13. description: Configure Resources for Stirling PDF
  14. questions:
  15. - variable: TZ
  16. group: Stirling PDF Configuration
  17. label: Timezone
  18. schema:
  19. type: string
  20. default: Etc/UTC
  21. required: true
  22. $ref:
  23. - definitions/timezone
  24. - variable: stirling
  25. label: ""
  26. group: Stirling PDF Configuration
  27. schema:
  28. type: dict
  29. attrs:
  30. - variable: enable_security
  31. label: Enable Security
  32. description: |
  33. Enable security for Stirling PDF.</br>
  34. See https://docs.stirlingpdf.com/Advanced%20Configuration/System%20and%20Security
  35. schema:
  36. type: boolean
  37. default: false
  38. - variable: langs
  39. label: Languages
  40. description: Languages to enable for Stirling PDF.
  41. schema:
  42. type: list
  43. default:
  44. - en_GB
  45. items:
  46. - variable: lang
  47. label: Language
  48. schema:
  49. type: string
  50. required: true
  51. - variable: additional_envs
  52. label: Additional Environment Variables
  53. schema:
  54. type: list
  55. default: []
  56. items:
  57. - variable: env
  58. label: Environment Variable
  59. schema:
  60. type: dict
  61. attrs:
  62. - variable: name
  63. label: Name
  64. schema:
  65. type: string
  66. required: true
  67. - variable: value
  68. label: Value
  69. schema:
  70. type: string
  71. - variable: run_as
  72. label: ""
  73. group: User and Group Configuration
  74. schema:
  75. type: dict
  76. attrs:
  77. - variable: user
  78. label: User ID
  79. description: The user id that Stirling PDF files will be owned by.
  80. schema:
  81. type: int
  82. min: 568
  83. default: 568
  84. required: true
  85. - variable: group
  86. label: Group ID
  87. description: The group id that Stirling PDF files will be owned by.
  88. schema:
  89. type: int
  90. min: 568
  91. default: 568
  92. required: true
  93. - variable: network
  94. label: ""
  95. group: Network Configuration
  96. schema:
  97. type: dict
  98. attrs:
  99. - variable: web_port
  100. label: WebUI Port
  101. schema:
  102. type: dict
  103. show_if: [["host_network", "=", false]]
  104. attrs:
  105. - variable: bind_mode
  106. label: Port Bind Mode
  107. description: |
  108. The port bind mode.</br>
  109. - Publish: The port will be published on the host for external access.</br>
  110. - Expose: The port will be exposed for inter-container communication.</br>
  111. - None: The port will not be exposed or published.</br>
  112. Note: If the Dockerfile defines an EXPOSE directive,
  113. the port will still be exposed for inter-container communication regardless of this setting.
  114. schema:
  115. type: string
  116. default: "published"
  117. enum:
  118. - value: "published"
  119. description: Publish port on the host for external access
  120. - value: "exposed"
  121. description: Expose port for inter-container communication
  122. - value: ""
  123. description: None
  124. - variable: port_number
  125. label: Port Number
  126. schema:
  127. type: int
  128. show_if: [["bind_mode", "=", "published"]]
  129. default: 30124
  130. min: 1
  131. max: 65535
  132. required: true
  133. - variable: host_ips
  134. label: Host IPs
  135. description: IPs on the host to bind this port
  136. schema:
  137. type: list
  138. show_if: [["bind_mode", "=", "published"]]
  139. default: []
  140. items:
  141. - variable: host_ip
  142. label: Host IP
  143. schema:
  144. type: string
  145. required: true
  146. $ref:
  147. - definitions/node_bind_ip
  148. - variable: host_network
  149. label: Host Network
  150. description: |
  151. Bind to the host network. It's recommended to keep this disabled.
  152. schema:
  153. type: boolean
  154. default: false
  155. - variable: storage
  156. label: ""
  157. group: Storage Configuration
  158. schema:
  159. type: dict
  160. attrs:
  161. - variable: tesseract_data
  162. label: Tesseract Data Storage
  163. description: The path to store Tesseract Data.
  164. schema:
  165. type: dict
  166. attrs:
  167. - variable: type
  168. label: Type
  169. description: |
  170. ixVolume: Is dataset created automatically by the system.</br>
  171. Host Path: Is a path that already exists on the system.
  172. schema:
  173. type: string
  174. required: true
  175. default: "ix_volume"
  176. enum:
  177. - value: "host_path"
  178. description: Host Path (Path that already exists on the system)
  179. - value: "ix_volume"
  180. description: ixVolume (Dataset created automatically by the system)
  181. - variable: ix_volume_config
  182. label: ixVolume Configuration
  183. description: The configuration for the ixVolume dataset.
  184. schema:
  185. type: dict
  186. show_if: [["type", "=", "ix_volume"]]
  187. $ref:
  188. - "normalize/ix_volume"
  189. attrs:
  190. - variable: acl_enable
  191. label: Enable ACL
  192. description: Enable ACL for the storage.
  193. schema:
  194. type: boolean
  195. default: false
  196. - variable: dataset_name
  197. label: Dataset Name
  198. description: The name of the dataset to use for storage.
  199. schema:
  200. type: string
  201. required: true
  202. hidden: true
  203. default: "tesseract_data"
  204. - variable: acl_entries
  205. label: ACL Configuration
  206. schema:
  207. type: dict
  208. show_if: [["acl_enable", "=", true]]
  209. attrs: []
  210. - variable: host_path_config
  211. label: Host Path Configuration
  212. schema:
  213. type: dict
  214. show_if: [["type", "=", "host_path"]]
  215. attrs:
  216. - variable: acl_enable
  217. label: Enable ACL
  218. description: Enable ACL for the storage.
  219. schema:
  220. type: boolean
  221. default: false
  222. - variable: acl
  223. label: ACL Configuration
  224. schema:
  225. type: dict
  226. show_if: [["acl_enable", "=", true]]
  227. attrs: []
  228. $ref:
  229. - "normalize/acl"
  230. - variable: path
  231. label: Host Path
  232. description: The host path to use for storage.
  233. schema:
  234. type: hostpath
  235. show_if: [["acl_enable", "=", false]]
  236. required: true
  237. - variable: configs
  238. label: Configs Storage
  239. description: The path to store Configs.
  240. schema:
  241. type: dict
  242. attrs:
  243. - variable: type
  244. label: Type
  245. description: |
  246. ixVolume: Is dataset created automatically by the system.</br>
  247. Host Path: Is a path that already exists on the system.
  248. schema:
  249. type: string
  250. required: true
  251. default: "ix_volume"
  252. enum:
  253. - value: "host_path"
  254. description: Host Path (Path that already exists on the system)
  255. - value: "ix_volume"
  256. description: ixVolume (Dataset created automatically by the system)
  257. - variable: ix_volume_config
  258. label: ixVolume Configuration
  259. description: The configuration for the ixVolume dataset.
  260. schema:
  261. type: dict
  262. show_if: [["type", "=", "ix_volume"]]
  263. $ref:
  264. - "normalize/ix_volume"
  265. attrs:
  266. - variable: acl_enable
  267. label: Enable ACL
  268. description: Enable ACL for the storage.
  269. schema:
  270. type: boolean
  271. default: false
  272. - variable: dataset_name
  273. label: Dataset Name
  274. description: The name of the dataset to use for storage.
  275. schema:
  276. type: string
  277. required: true
  278. hidden: true
  279. default: "configs"
  280. - variable: acl_entries
  281. label: ACL Configuration
  282. schema:
  283. type: dict
  284. show_if: [["acl_enable", "=", true]]
  285. attrs: []
  286. - variable: host_path_config
  287. label: Host Path Configuration
  288. schema:
  289. type: dict
  290. show_if: [["type", "=", "host_path"]]
  291. attrs:
  292. - variable: acl_enable
  293. label: Enable ACL
  294. description: Enable ACL for the storage.
  295. schema:
  296. type: boolean
  297. default: false
  298. - variable: acl
  299. label: ACL Configuration
  300. schema:
  301. type: dict
  302. show_if: [["acl_enable", "=", true]]
  303. attrs: []
  304. $ref:
  305. - "normalize/acl"
  306. - variable: path
  307. label: Host Path
  308. description: The host path to use for storage.
  309. schema:
  310. type: hostpath
  311. show_if: [["acl_enable", "=", false]]
  312. required: true
  313. - variable: custom_files
  314. label: Custom Files Storage
  315. description: The path to store Custom Files.
  316. schema:
  317. type: dict
  318. attrs:
  319. - variable: type
  320. label: Type
  321. description: |
  322. ixVolume: Is dataset created automatically by the system.</br>
  323. Host Path: Is a path that already exists on the system.
  324. schema:
  325. type: string
  326. required: true
  327. default: "ix_volume"
  328. enum:
  329. - value: "host_path"
  330. description: Host Path (Path that already exists on the system)
  331. - value: "ix_volume"
  332. description: ixVolume (Dataset created automatically by the system)
  333. - variable: ix_volume_config
  334. label: ixVolume Configuration
  335. description: The configuration for the ixVolume dataset.
  336. schema:
  337. type: dict
  338. show_if: [["type", "=", "ix_volume"]]
  339. $ref:
  340. - "normalize/ix_volume"
  341. attrs:
  342. - variable: acl_enable
  343. label: Enable ACL
  344. description: Enable ACL for the storage.
  345. schema:
  346. type: boolean
  347. default: false
  348. - variable: dataset_name
  349. label: Dataset Name
  350. description: The name of the dataset to use for storage.
  351. schema:
  352. type: string
  353. required: true
  354. hidden: true
  355. default: "custom_files"
  356. - variable: acl_entries
  357. label: ACL Configuration
  358. schema:
  359. type: dict
  360. show_if: [["acl_enable", "=", true]]
  361. attrs: []
  362. - variable: host_path_config
  363. label: Host Path Configuration
  364. schema:
  365. type: dict
  366. show_if: [["type", "=", "host_path"]]
  367. attrs:
  368. - variable: acl_enable
  369. label: Enable ACL
  370. description: Enable ACL for the storage.
  371. schema:
  372. type: boolean
  373. default: false
  374. - variable: acl
  375. label: ACL Configuration
  376. schema:
  377. type: dict
  378. show_if: [["acl_enable", "=", true]]
  379. attrs: []
  380. $ref:
  381. - "normalize/acl"
  382. - variable: path
  383. label: Host Path
  384. description: The host path to use for storage.
  385. schema:
  386. type: hostpath
  387. show_if: [["acl_enable", "=", false]]
  388. required: true
  389. - variable: logs
  390. label: Logs Storage
  391. description: The path to store logs.
  392. schema:
  393. type: dict
  394. attrs:
  395. - variable: type
  396. label: Type
  397. description: |
  398. ixVolume: Is dataset created automatically by the system.</br>
  399. Host Path: Is a path that already exists on the system.
  400. schema:
  401. type: string
  402. required: true
  403. default: "ix_volume"
  404. enum:
  405. - value: "host_path"
  406. description: Host Path (Path that already exists on the system)
  407. - value: "ix_volume"
  408. description: ixVolume (Dataset created automatically by the system)
  409. - variable: ix_volume_config
  410. label: ixVolume Configuration
  411. description: The configuration for the ixVolume dataset.
  412. schema:
  413. type: dict
  414. show_if: [["type", "=", "ix_volume"]]
  415. $ref:
  416. - "normalize/ix_volume"
  417. attrs:
  418. - variable: acl_enable
  419. label: Enable ACL
  420. description: Enable ACL for the storage.
  421. schema:
  422. type: boolean
  423. default: false
  424. - variable: dataset_name
  425. label: Dataset Name
  426. description: The name of the dataset to use for storage.
  427. schema:
  428. type: string
  429. required: true
  430. hidden: true
  431. default: "logs"
  432. - variable: acl_entries
  433. label: ACL Configuration
  434. schema:
  435. type: dict
  436. show_if: [["acl_enable", "=", true]]
  437. attrs: []
  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: pipeline
  466. label: Pipeline Storage
  467. description: The path to store pipeline.
  468. schema:
  469. type: dict
  470. attrs:
  471. - variable: type
  472. label: Type
  473. description: |
  474. ixVolume: Is dataset created automatically by the system.</br>
  475. Host Path: Is a path that already exists on the system.
  476. schema:
  477. type: string
  478. required: true
  479. default: "ix_volume"
  480. enum:
  481. - value: "host_path"
  482. description: Host Path (Path that already exists on the system)
  483. - value: "ix_volume"
  484. description: ixVolume (Dataset created automatically by the system)
  485. - variable: ix_volume_config
  486. label: ixVolume Configuration
  487. description: The configuration for the ixVolume dataset.
  488. schema:
  489. type: dict
  490. show_if: [["type", "=", "ix_volume"]]
  491. $ref:
  492. - "normalize/ix_volume"
  493. attrs:
  494. - variable: acl_enable
  495. label: Enable ACL
  496. description: Enable ACL for the storage.
  497. schema:
  498. type: boolean
  499. default: false
  500. - variable: dataset_name
  501. label: Dataset Name
  502. description: The name of the dataset to use for storage.
  503. schema:
  504. type: string
  505. required: true
  506. hidden: true
  507. default: "pipeline"
  508. - variable: acl_entries
  509. label: ACL Configuration
  510. schema:
  511. type: dict
  512. show_if: [["acl_enable", "=", true]]
  513. attrs: []
  514. - variable: host_path_config
  515. label: Host Path Configuration
  516. schema:
  517. type: dict
  518. show_if: [["type", "=", "host_path"]]
  519. attrs:
  520. - variable: acl_enable
  521. label: Enable ACL
  522. description: Enable ACL for the storage.
  523. schema:
  524. type: boolean
  525. default: false
  526. - variable: acl
  527. label: ACL Configuration
  528. schema:
  529. type: dict
  530. show_if: [["acl_enable", "=", true]]
  531. attrs: []
  532. $ref:
  533. - "normalize/acl"
  534. - variable: path
  535. label: Host Path
  536. description: The host path to use for storage.
  537. schema:
  538. type: hostpath
  539. show_if: [["acl_enable", "=", false]]
  540. required: true
  541. - variable: additional_storage
  542. label: Additional Storage
  543. schema:
  544. type: list
  545. default: []
  546. items:
  547. - variable: storageEntry
  548. label: Storage Entry
  549. schema:
  550. type: dict
  551. attrs:
  552. - variable: type
  553. label: Type
  554. description: |
  555. ixVolume: Is dataset created automatically by the system.</br>
  556. Host Path: Is a path that already exists on the system.</br>
  557. SMB Share: Is a SMB share that is mounted to as a volume.
  558. schema:
  559. type: string
  560. required: true
  561. default: "ix_volume"
  562. enum:
  563. - value: "host_path"
  564. description: Host Path (Path that already exists on the system)
  565. - value: "ix_volume"
  566. description: ixVolume (Dataset created automatically by the system)
  567. - value: "cifs"
  568. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  569. - variable: read_only
  570. label: Read Only
  571. description: Mount the volume as read only.
  572. schema:
  573. type: boolean
  574. default: false
  575. - variable: mount_path
  576. label: Mount Path
  577. description: The path inside the container to mount the storage.
  578. schema:
  579. type: path
  580. required: true
  581. - variable: host_path_config
  582. label: Host Path Configuration
  583. schema:
  584. type: dict
  585. show_if: [["type", "=", "host_path"]]
  586. attrs:
  587. - variable: acl_enable
  588. label: Enable ACL
  589. description: Enable ACL for the storage.
  590. schema:
  591. type: boolean
  592. default: false
  593. - variable: acl
  594. label: ACL Configuration
  595. schema:
  596. type: dict
  597. show_if: [["acl_enable", "=", true]]
  598. attrs: []
  599. $ref:
  600. - "normalize/acl"
  601. - variable: path
  602. label: Host Path
  603. description: The host path to use for storage.
  604. schema:
  605. type: hostpath
  606. show_if: [["acl_enable", "=", false]]
  607. required: true
  608. - variable: ix_volume_config
  609. label: ixVolume Configuration
  610. description: The configuration for the ixVolume dataset.
  611. schema:
  612. type: dict
  613. show_if: [["type", "=", "ix_volume"]]
  614. $ref:
  615. - "normalize/ix_volume"
  616. attrs:
  617. - variable: acl_enable
  618. label: Enable ACL
  619. description: Enable ACL for the storage.
  620. schema:
  621. type: boolean
  622. default: false
  623. - variable: dataset_name
  624. label: Dataset Name
  625. description: The name of the dataset to use for storage.
  626. schema:
  627. type: string
  628. required: true
  629. default: "storage_entry"
  630. - variable: acl_entries
  631. label: ACL Configuration
  632. schema:
  633. type: dict
  634. show_if: [["acl_enable", "=", true]]
  635. attrs: []
  636. $ref:
  637. - "normalize/acl"
  638. - variable: cifs_config
  639. label: SMB Configuration
  640. description: The configuration for the SMB dataset.
  641. schema:
  642. type: dict
  643. show_if: [["type", "=", "cifs"]]
  644. attrs:
  645. - variable: server
  646. label: Server
  647. description: The server to mount the SMB share.
  648. schema:
  649. type: string
  650. required: true
  651. - variable: path
  652. label: Path
  653. description: The path to mount the SMB share.
  654. schema:
  655. type: string
  656. required: true
  657. - variable: username
  658. label: Username
  659. description: The username to use for the SMB share.
  660. schema:
  661. type: string
  662. required: true
  663. - variable: password
  664. label: Password
  665. description: The password to use for the SMB share.
  666. schema:
  667. type: string
  668. required: true
  669. private: true
  670. - variable: domain
  671. label: Domain
  672. description: The domain to use for the SMB share.
  673. schema:
  674. type: string
  675. - variable: labels
  676. label: ""
  677. group: Labels Configuration
  678. schema:
  679. type: list
  680. default: []
  681. items:
  682. - variable: label
  683. label: Label
  684. schema:
  685. type: dict
  686. attrs:
  687. - variable: key
  688. label: Key
  689. schema:
  690. type: string
  691. required: true
  692. - variable: value
  693. label: Value
  694. schema:
  695. type: string
  696. required: true
  697. - variable: containers
  698. label: Containers
  699. description: Containers where the label should be applied
  700. schema:
  701. type: list
  702. items:
  703. - variable: container
  704. label: Container
  705. schema:
  706. type: string
  707. required: true
  708. enum:
  709. - value: stirling-pdf
  710. description: stirling-pdf
  711. - variable: resources
  712. label: ""
  713. group: Resources Configuration
  714. schema:
  715. type: dict
  716. attrs:
  717. - variable: limits
  718. label: Limits
  719. schema:
  720. type: dict
  721. attrs:
  722. - variable: cpus
  723. label: CPUs
  724. description: CPUs limit for Stirling PDF.
  725. schema:
  726. type: int
  727. default: 2
  728. required: true
  729. - variable: memory
  730. label: Memory (in MB)
  731. description: Memory limit for Stirling PDF.
  732. schema:
  733. type: int
  734. default: 4096
  735. required: true