questions.yaml 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787
  1. groups:
  2. - name: Gramps Web Configuration
  3. description: Configure Gramps Web
  4. - name: Network Configuration
  5. description: Configure Network for Gramps Web
  6. - name: Storage Configuration
  7. description: Configure Storage for Gramps Web
  8. - name: Labels Configuration
  9. description: Configure Labels for Gramps Web
  10. - name: Resources Configuration
  11. description: Configure Resources for Gramps Web
  12. questions:
  13. - variable: TZ
  14. group: Gramps Web Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: gramps
  23. label: ""
  24. group: Gramps Web Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: redis_password
  29. label: Redis Password
  30. description: The redis password for Gramps Web.
  31. schema:
  32. type: string
  33. default: ""
  34. required: true
  35. private: true
  36. - variable: disable_telemetry
  37. label: Disable Anonymous Telemetry
  38. description: |
  39. Disable anonymous telemetry for Gramps Web.</br>
  40. This will prevent Gramps Web from sending anonymous statistics data to the Gramps project.
  41. schema:
  42. type: boolean
  43. default: false
  44. - variable: app_key
  45. label: Secret App Key
  46. description: |
  47. The secret app key for Gramps Web.</br>
  48. Must be at least 32 characters long.</br>
  49. schema:
  50. type: string
  51. min_length: 32
  52. default: ""
  53. required: true
  54. private: true
  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: 30179
  110. show_if: [["bind_mode", "=", "published"]]
  111. min: 1
  112. max: 65535
  113. required: true
  114. - variable: host_ips
  115. label: Host IPs
  116. description: IPs on the host to bind this port
  117. schema:
  118. type: list
  119. show_if: [["bind_mode", "=", "published"]]
  120. default: []
  121. items:
  122. - variable: host_ip
  123. label: Host IP
  124. schema:
  125. type: string
  126. required: true
  127. $ref:
  128. - definitions/node_bind_ip
  129. - variable: storage
  130. label: ""
  131. group: Storage Configuration
  132. schema:
  133. type: dict
  134. attrs:
  135. - variable: users
  136. label: Users Storage
  137. schema:
  138. type: dict
  139. attrs:
  140. - variable: type
  141. label: Type
  142. description: |
  143. ixVolume: Is dataset created automatically by the system.</br>
  144. Host Path: Is a path that already exists on the system.
  145. schema:
  146. type: string
  147. required: true
  148. default: "ix_volume"
  149. enum:
  150. - value: "host_path"
  151. description: Host Path (Path that already exists on the system)
  152. - value: "ix_volume"
  153. description: ixVolume (Dataset created automatically by the system)
  154. - variable: ix_volume_config
  155. label: ixVolume Configuration
  156. description: The configuration for the ixVolume dataset.
  157. schema:
  158. type: dict
  159. show_if: [["type", "=", "ix_volume"]]
  160. $ref:
  161. - "normalize/ix_volume"
  162. attrs:
  163. - variable: acl_enable
  164. label: Enable ACL
  165. description: Enable ACL for the storage.
  166. schema:
  167. type: boolean
  168. default: false
  169. - variable: dataset_name
  170. label: Dataset Name
  171. description: The name of the dataset to use for storage.
  172. schema:
  173. type: string
  174. required: true
  175. hidden: true
  176. default: "users"
  177. - variable: acl_entries
  178. label: ACL Configuration
  179. schema:
  180. type: dict
  181. show_if: [["acl_enable", "=", true]]
  182. attrs: []
  183. - variable: host_path_config
  184. label: Host Path Configuration
  185. schema:
  186. type: dict
  187. show_if: [["type", "=", "host_path"]]
  188. attrs:
  189. - variable: acl_enable
  190. label: Enable ACL
  191. description: Enable ACL for the storage.
  192. schema:
  193. type: boolean
  194. default: false
  195. - variable: acl
  196. label: ACL Configuration
  197. schema:
  198. type: dict
  199. show_if: [["acl_enable", "=", true]]
  200. attrs: []
  201. $ref:
  202. - "normalize/acl"
  203. - variable: path
  204. label: Host Path
  205. description: The host path to use for storage.
  206. schema:
  207. type: hostpath
  208. show_if: [["acl_enable", "=", false]]
  209. required: true
  210. - variable: index
  211. label: Index Storage
  212. schema:
  213. type: dict
  214. attrs:
  215. - variable: type
  216. label: Type
  217. description: |
  218. ixVolume: Is dataset created automatically by the system.</br>
  219. Host Path: Is a path that already exists on the system.
  220. schema:
  221. type: string
  222. required: true
  223. default: "ix_volume"
  224. enum:
  225. - value: "host_path"
  226. description: Host Path (Path that already exists on the system)
  227. - value: "ix_volume"
  228. description: ixVolume (Dataset created automatically by the system)
  229. - variable: ix_volume_config
  230. label: ixVolume Configuration
  231. description: The configuration for the ixVolume dataset.
  232. schema:
  233. type: dict
  234. show_if: [["type", "=", "ix_volume"]]
  235. $ref:
  236. - "normalize/ix_volume"
  237. attrs:
  238. - variable: acl_enable
  239. label: Enable ACL
  240. description: Enable ACL for the storage.
  241. schema:
  242. type: boolean
  243. default: false
  244. - variable: dataset_name
  245. label: Dataset Name
  246. description: The name of the dataset to use for storage.
  247. schema:
  248. type: string
  249. required: true
  250. hidden: true
  251. default: "index"
  252. - variable: acl_entries
  253. label: ACL Configuration
  254. schema:
  255. type: dict
  256. show_if: [["acl_enable", "=", true]]
  257. attrs: []
  258. - variable: host_path_config
  259. label: Host Path Configuration
  260. schema:
  261. type: dict
  262. show_if: [["type", "=", "host_path"]]
  263. attrs:
  264. - variable: acl_enable
  265. label: Enable ACL
  266. description: Enable ACL for the storage.
  267. schema:
  268. type: boolean
  269. default: false
  270. - variable: acl
  271. label: ACL Configuration
  272. schema:
  273. type: dict
  274. show_if: [["acl_enable", "=", true]]
  275. attrs: []
  276. $ref:
  277. - "normalize/acl"
  278. - variable: path
  279. label: Host Path
  280. description: The host path to use for storage.
  281. schema:
  282. type: hostpath
  283. show_if: [["acl_enable", "=", false]]
  284. required: true
  285. - variable: thumbnail_cache
  286. label: Thumbnail Cache Storage
  287. schema:
  288. type: dict
  289. attrs:
  290. - variable: type
  291. label: Type
  292. description: |
  293. ixVolume: Is dataset created automatically by the system.</br>
  294. Host Path: Is a path that already exists on the system.
  295. schema:
  296. type: string
  297. required: true
  298. default: "ix_volume"
  299. enum:
  300. - value: "host_path"
  301. description: Host Path (Path that already exists on the system)
  302. - value: "ix_volume"
  303. description: ixVolume (Dataset created automatically by the system)
  304. - variable: ix_volume_config
  305. label: ixVolume Configuration
  306. description: The configuration for the ixVolume dataset.
  307. schema:
  308. type: dict
  309. show_if: [["type", "=", "ix_volume"]]
  310. $ref:
  311. - "normalize/ix_volume"
  312. attrs:
  313. - variable: acl_enable
  314. label: Enable ACL
  315. description: Enable ACL for the storage.
  316. schema:
  317. type: boolean
  318. default: false
  319. - variable: dataset_name
  320. label: Dataset Name
  321. description: The name of the dataset to use for storage.
  322. schema:
  323. type: string
  324. required: true
  325. hidden: true
  326. default: "thumbnail_cache"
  327. - variable: acl_entries
  328. label: ACL Configuration
  329. schema:
  330. type: dict
  331. show_if: [["acl_enable", "=", true]]
  332. attrs: []
  333. - variable: host_path_config
  334. label: Host Path Configuration
  335. schema:
  336. type: dict
  337. show_if: [["type", "=", "host_path"]]
  338. attrs:
  339. - variable: acl_enable
  340. label: Enable ACL
  341. description: Enable ACL for the storage.
  342. schema:
  343. type: boolean
  344. default: false
  345. - variable: acl
  346. label: ACL Configuration
  347. schema:
  348. type: dict
  349. show_if: [["acl_enable", "=", true]]
  350. attrs: []
  351. $ref:
  352. - "normalize/acl"
  353. - variable: path
  354. label: Host Path
  355. description: The host path to use for storage.
  356. schema:
  357. type: hostpath
  358. show_if: [["acl_enable", "=", false]]
  359. required: true
  360. - variable: cache
  361. label: Cache Storage
  362. schema:
  363. type: dict
  364. attrs:
  365. - variable: type
  366. label: Type
  367. description: |
  368. ixVolume: Is dataset created automatically by the system.</br>
  369. Host Path: Is a path that already exists on the system.
  370. schema:
  371. type: string
  372. required: true
  373. default: "ix_volume"
  374. enum:
  375. - value: "host_path"
  376. description: Host Path (Path that already exists on the system)
  377. - value: "ix_volume"
  378. description: ixVolume (Dataset created automatically by the system)
  379. - variable: ix_volume_config
  380. label: ixVolume Configuration
  381. description: The configuration for the ixVolume dataset.
  382. schema:
  383. type: dict
  384. show_if: [["type", "=", "ix_volume"]]
  385. $ref:
  386. - "normalize/ix_volume"
  387. attrs:
  388. - variable: acl_enable
  389. label: Enable ACL
  390. description: Enable ACL for the storage.
  391. schema:
  392. type: boolean
  393. default: false
  394. - variable: dataset_name
  395. label: Dataset Name
  396. description: The name of the dataset to use for storage.
  397. schema:
  398. type: string
  399. required: true
  400. hidden: true
  401. default: "cache"
  402. - variable: acl_entries
  403. label: ACL Configuration
  404. schema:
  405. type: dict
  406. show_if: [["acl_enable", "=", true]]
  407. attrs: []
  408. - variable: host_path_config
  409. label: Host Path Configuration
  410. schema:
  411. type: dict
  412. show_if: [["type", "=", "host_path"]]
  413. attrs:
  414. - variable: acl_enable
  415. label: Enable ACL
  416. description: Enable ACL for the storage.
  417. schema:
  418. type: boolean
  419. default: false
  420. - variable: acl
  421. label: ACL Configuration
  422. schema:
  423. type: dict
  424. show_if: [["acl_enable", "=", true]]
  425. attrs: []
  426. $ref:
  427. - "normalize/acl"
  428. - variable: path
  429. label: Host Path
  430. description: The host path to use for storage.
  431. schema:
  432. type: hostpath
  433. show_if: [["acl_enable", "=", false]]
  434. required: true
  435. - variable: media
  436. label: Media Storage
  437. schema:
  438. type: dict
  439. attrs:
  440. - variable: type
  441. label: Type
  442. description: |
  443. ixVolume: Is dataset created automatically by the system.</br>
  444. Host Path: Is a path that already exists on the system.
  445. schema:
  446. type: string
  447. required: true
  448. default: "ix_volume"
  449. enum:
  450. - value: "host_path"
  451. description: Host Path (Path that already exists on the system)
  452. - value: "ix_volume"
  453. description: ixVolume (Dataset created automatically by the system)
  454. - variable: ix_volume_config
  455. label: ixVolume Configuration
  456. description: The configuration for the ixVolume dataset.
  457. schema:
  458. type: dict
  459. show_if: [["type", "=", "ix_volume"]]
  460. $ref:
  461. - "normalize/ix_volume"
  462. attrs:
  463. - variable: acl_enable
  464. label: Enable ACL
  465. description: Enable ACL for the storage.
  466. schema:
  467. type: boolean
  468. default: false
  469. - variable: dataset_name
  470. label: Dataset Name
  471. description: The name of the dataset to use for storage.
  472. schema:
  473. type: string
  474. required: true
  475. hidden: true
  476. default: "media"
  477. - variable: acl_entries
  478. label: ACL Configuration
  479. schema:
  480. type: dict
  481. show_if: [["acl_enable", "=", true]]
  482. attrs: []
  483. - variable: host_path_config
  484. label: Host Path Configuration
  485. schema:
  486. type: dict
  487. show_if: [["type", "=", "host_path"]]
  488. attrs:
  489. - variable: acl_enable
  490. label: Enable ACL
  491. description: Enable ACL for the storage.
  492. schema:
  493. type: boolean
  494. default: false
  495. - variable: acl
  496. label: ACL Configuration
  497. schema:
  498. type: dict
  499. show_if: [["acl_enable", "=", true]]
  500. attrs: []
  501. $ref:
  502. - "normalize/acl"
  503. - variable: path
  504. label: Host Path
  505. description: The host path to use for storage.
  506. schema:
  507. type: hostpath
  508. show_if: [["acl_enable", "=", false]]
  509. required: true
  510. - variable: grampsdb
  511. label: Gramps Database Storage
  512. schema:
  513. type: dict
  514. attrs:
  515. - variable: type
  516. label: Type
  517. description: |
  518. ixVolume: Is dataset created automatically by the system.</br>
  519. Host Path: Is a path that already exists on the system.
  520. schema:
  521. type: string
  522. required: true
  523. default: "ix_volume"
  524. enum:
  525. - value: "host_path"
  526. description: Host Path (Path that already exists on the system)
  527. - value: "ix_volume"
  528. description: ixVolume (Dataset created automatically by the system)
  529. - variable: ix_volume_config
  530. label: ixVolume Configuration
  531. description: The configuration for the ixVolume dataset.
  532. schema:
  533. type: dict
  534. show_if: [["type", "=", "ix_volume"]]
  535. $ref:
  536. - "normalize/ix_volume"
  537. attrs:
  538. - variable: acl_enable
  539. label: Enable ACL
  540. description: Enable ACL for the storage.
  541. schema:
  542. type: boolean
  543. default: false
  544. - variable: dataset_name
  545. label: Dataset Name
  546. description: The name of the dataset to use for storage.
  547. schema:
  548. type: string
  549. required: true
  550. hidden: true
  551. default: "grampsdb"
  552. - variable: acl_entries
  553. label: ACL Configuration
  554. schema:
  555. type: dict
  556. show_if: [["acl_enable", "=", true]]
  557. attrs: []
  558. - variable: host_path_config
  559. label: Host Path Configuration
  560. schema:
  561. type: dict
  562. show_if: [["type", "=", "host_path"]]
  563. attrs:
  564. - variable: acl_enable
  565. label: Enable ACL
  566. description: Enable ACL for the storage.
  567. schema:
  568. type: boolean
  569. default: false
  570. - variable: acl
  571. label: ACL Configuration
  572. schema:
  573. type: dict
  574. show_if: [["acl_enable", "=", true]]
  575. attrs: []
  576. $ref:
  577. - "normalize/acl"
  578. - variable: path
  579. label: Host Path
  580. description: The host path to use for storage.
  581. schema:
  582. type: hostpath
  583. show_if: [["acl_enable", "=", false]]
  584. required: true
  585. - variable: additional_storage
  586. label: Additional Storage
  587. schema:
  588. type: list
  589. default: []
  590. items:
  591. - variable: storageEntry
  592. label: Storage Entry
  593. schema:
  594. type: dict
  595. attrs:
  596. - variable: type
  597. label: Type
  598. description: |
  599. ixVolume: Is dataset created automatically by the system.</br>
  600. Host Path: Is a path that already exists on the system.</br>
  601. SMB Share: Is a SMB share that is mounted to as a volume.
  602. schema:
  603. type: string
  604. required: true
  605. default: "ix_volume"
  606. enum:
  607. - value: "host_path"
  608. description: Host Path (Path that already exists on the system)
  609. - value: "ix_volume"
  610. description: ixVolume (Dataset created automatically by the system)
  611. - value: "cifs"
  612. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  613. - variable: read_only
  614. label: Read Only
  615. description: Mount the volume as read only.
  616. schema:
  617. type: boolean
  618. default: false
  619. - variable: mount_path
  620. label: Mount Path
  621. description: The path inside the container to mount the storage.
  622. schema:
  623. type: path
  624. required: true
  625. - variable: host_path_config
  626. label: Host Path Configuration
  627. schema:
  628. type: dict
  629. show_if: [["type", "=", "host_path"]]
  630. attrs:
  631. - variable: acl_enable
  632. label: Enable ACL
  633. description: Enable ACL for the storage.
  634. schema:
  635. type: boolean
  636. default: false
  637. - variable: acl
  638. label: ACL Configuration
  639. schema:
  640. type: dict
  641. show_if: [["acl_enable", "=", true]]
  642. attrs: []
  643. $ref:
  644. - "normalize/acl"
  645. - variable: path
  646. label: Host Path
  647. description: The host path to use for storage.
  648. schema:
  649. type: hostpath
  650. show_if: [["acl_enable", "=", false]]
  651. required: true
  652. - variable: ix_volume_config
  653. label: ixVolume Configuration
  654. description: The configuration for the ixVolume dataset.
  655. schema:
  656. type: dict
  657. show_if: [["type", "=", "ix_volume"]]
  658. $ref:
  659. - "normalize/ix_volume"
  660. attrs:
  661. - variable: acl_enable
  662. label: Enable ACL
  663. description: Enable ACL for the storage.
  664. schema:
  665. type: boolean
  666. default: false
  667. - variable: dataset_name
  668. label: Dataset Name
  669. description: The name of the dataset to use for storage.
  670. schema:
  671. type: string
  672. required: true
  673. default: "storage_entry"
  674. - variable: acl_entries
  675. label: ACL Configuration
  676. schema:
  677. type: dict
  678. show_if: [["acl_enable", "=", true]]
  679. attrs: []
  680. $ref:
  681. - "normalize/acl"
  682. - variable: cifs_config
  683. label: SMB Configuration
  684. description: The configuration for the SMB dataset.
  685. schema:
  686. type: dict
  687. show_if: [["type", "=", "cifs"]]
  688. attrs:
  689. - variable: server
  690. label: Server
  691. description: The server to mount the SMB share.
  692. schema:
  693. type: string
  694. required: true
  695. - variable: path
  696. label: Path
  697. description: The path to mount the SMB share.
  698. schema:
  699. type: string
  700. required: true
  701. - variable: username
  702. label: Username
  703. description: The username to use for the SMB share.
  704. schema:
  705. type: string
  706. required: true
  707. - variable: password
  708. label: Password
  709. description: The password to use for the SMB share.
  710. schema:
  711. type: string
  712. required: true
  713. private: true
  714. - variable: domain
  715. label: Domain
  716. description: The domain to use for the SMB share.
  717. schema:
  718. type: string
  719. - variable: labels
  720. label: ""
  721. group: Labels Configuration
  722. schema:
  723. type: list
  724. default: []
  725. items:
  726. - variable: label
  727. label: Label
  728. schema:
  729. type: dict
  730. attrs:
  731. - variable: key
  732. label: Key
  733. schema:
  734. type: string
  735. required: true
  736. - variable: value
  737. label: Value
  738. schema:
  739. type: string
  740. required: true
  741. - variable: containers
  742. label: Containers
  743. description: Containers where the label should be applied
  744. schema:
  745. type: list
  746. items:
  747. - variable: container
  748. label: Container
  749. schema:
  750. type: string
  751. required: true
  752. enum:
  753. - value: web
  754. description: web
  755. - value: celery
  756. description: celery
  757. - value: redis
  758. description: redis
  759. - variable: resources
  760. label: ""
  761. group: Resources Configuration
  762. schema:
  763. type: dict
  764. attrs:
  765. - variable: limits
  766. label: Limits
  767. schema:
  768. type: dict
  769. attrs:
  770. - variable: cpus
  771. label: CPUs
  772. description: CPUs limit for Gramps Web.
  773. schema:
  774. type: int
  775. default: 2
  776. required: true
  777. - variable: memory
  778. label: Memory (in MB)
  779. description: Memory limit for Gramps Web.
  780. schema:
  781. type: int
  782. default: 4096
  783. required: true