questions.yaml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  1. groups:
  2. - name: Passbolt Configuration
  3. description: Configure Passbolt
  4. - name: Network Configuration
  5. description: Configure Network for Passbolt
  6. - name: Storage Configuration
  7. description: Configure Storage for Passbolt
  8. - name: Labels Configuration
  9. description: Configure Labels for Passbolt
  10. - name: Resources Configuration
  11. description: Configure Resources for Passbolt
  12. questions:
  13. - variable: passbolt
  14. label: ""
  15. group: Passbolt Configuration
  16. schema:
  17. type: dict
  18. attrs:
  19. - variable: db_password
  20. label: Database Password
  21. description: The database password for Passbolt.
  22. schema:
  23. type: string
  24. default: ""
  25. required: true
  26. private: true
  27. - variable: db_root_password
  28. label: Root Database Password
  29. description: The root database password for Passbolt.
  30. schema:
  31. type: string
  32. default: ""
  33. required: true
  34. private: true
  35. - variable: app_url
  36. label: App URL
  37. description: |
  38. The URL for the Passbolt WebUI.</br>
  39. Format is: https://sub.domain.tld:port
  40. schema:
  41. type: uri
  42. default: ""
  43. required: true
  44. - variable: additional_envs
  45. label: Additional Environment Variables
  46. schema:
  47. type: list
  48. default: []
  49. items:
  50. - variable: env
  51. label: Environment Variable
  52. schema:
  53. type: dict
  54. attrs:
  55. - variable: name
  56. label: Name
  57. schema:
  58. type: string
  59. required: true
  60. - variable: value
  61. label: Value
  62. schema:
  63. type: string
  64. - variable: network
  65. label: ""
  66. group: Network Configuration
  67. schema:
  68. type: dict
  69. attrs:
  70. - variable: web_port
  71. label: WebUI Port
  72. schema:
  73. type: dict
  74. attrs:
  75. - variable: bind_mode
  76. label: Port Bind Mode
  77. description: |
  78. The port bind mode.</br>
  79. - Publish: The port will be published on the host for external access.</br>
  80. - Expose: The port will be exposed for inter-container communication.</br>
  81. - None: The port will not be exposed or published.</br>
  82. Note: If the Dockerfile defines an EXPOSE directive,
  83. the port will still be exposed for inter-container communication regardless of this setting.
  84. schema:
  85. type: string
  86. default: "published"
  87. enum:
  88. - value: "published"
  89. description: Publish port on the host for external access
  90. - value: "exposed"
  91. description: Expose port for inter-container communication
  92. - value: ""
  93. description: None
  94. - variable: port_number
  95. label: Port Number
  96. schema:
  97. type: int
  98. show_if: [["bind_mode", "=", "published"]]
  99. default: 30097
  100. min: 1
  101. max: 65535
  102. required: true
  103. - variable: host_ips
  104. label: Host IPs
  105. description: IPs on the host to bind this port
  106. schema:
  107. type: list
  108. show_if: [["bind_mode", "=", "published"]]
  109. default: []
  110. items:
  111. - variable: host_ip
  112. label: Host IP
  113. schema:
  114. type: string
  115. required: true
  116. $ref:
  117. - definitions/node_bind_ip
  118. - variable: certificate_id
  119. label: Certificate
  120. description: The certificate to use for Passbolt.
  121. schema:
  122. type: int
  123. "null": true
  124. $ref:
  125. - "definitions/certificate"
  126. - variable: storage
  127. label: ""
  128. group: Storage Configuration
  129. schema:
  130. type: dict
  131. attrs:
  132. - variable: gpg
  133. label: Passbolt GPG Storage
  134. description: The path to store Passbolt GPG.
  135. schema:
  136. type: dict
  137. attrs:
  138. - variable: type
  139. label: Type
  140. description: |
  141. ixVolume: Is dataset created automatically by the system.</br>
  142. Host Path: Is a path that already exists on the system.
  143. schema:
  144. type: string
  145. required: true
  146. default: "ix_volume"
  147. enum:
  148. - value: "host_path"
  149. description: Host Path (Path that already exists on the system)
  150. - value: "ix_volume"
  151. description: ixVolume (Dataset created automatically by the system)
  152. - variable: ix_volume_config
  153. label: ixVolume Configuration
  154. description: The configuration for the ixVolume dataset.
  155. schema:
  156. type: dict
  157. show_if: [["type", "=", "ix_volume"]]
  158. $ref:
  159. - "normalize/ix_volume"
  160. attrs:
  161. - variable: acl_enable
  162. label: Enable ACL
  163. description: Enable ACL for the storage.
  164. schema:
  165. type: boolean
  166. default: false
  167. - variable: dataset_name
  168. label: Dataset Name
  169. description: The name of the dataset to use for storage.
  170. schema:
  171. type: string
  172. required: true
  173. hidden: true
  174. default: "gpg"
  175. - variable: acl_entries
  176. label: ACL Configuration
  177. schema:
  178. type: dict
  179. show_if: [["acl_enable", "=", true]]
  180. attrs: []
  181. - variable: host_path_config
  182. label: Host Path Configuration
  183. schema:
  184. type: dict
  185. show_if: [["type", "=", "host_path"]]
  186. attrs:
  187. - variable: acl_enable
  188. label: Enable ACL
  189. description: Enable ACL for the storage.
  190. schema:
  191. type: boolean
  192. default: false
  193. - variable: acl
  194. label: ACL Configuration
  195. schema:
  196. type: dict
  197. show_if: [["acl_enable", "=", true]]
  198. attrs: []
  199. $ref:
  200. - "normalize/acl"
  201. - variable: path
  202. label: Host Path
  203. description: The host path to use for storage.
  204. schema:
  205. type: hostpath
  206. show_if: [["acl_enable", "=", false]]
  207. required: true
  208. - variable: jwt
  209. label: Passbolt JWT Storage
  210. description: The path to store Passbolt JWT.
  211. schema:
  212. type: dict
  213. attrs:
  214. - variable: type
  215. label: Type
  216. description: |
  217. ixVolume: Is dataset created automatically by the system.</br>
  218. Host Path: Is a path that already exists on the system.
  219. schema:
  220. type: string
  221. required: true
  222. default: "ix_volume"
  223. enum:
  224. - value: "host_path"
  225. description: Host Path (Path that already exists on the system)
  226. - value: "ix_volume"
  227. description: ixVolume (Dataset created automatically by the system)
  228. - variable: ix_volume_config
  229. label: ixVolume Configuration
  230. description: The configuration for the ixVolume dataset.
  231. schema:
  232. type: dict
  233. show_if: [["type", "=", "ix_volume"]]
  234. $ref:
  235. - "normalize/ix_volume"
  236. attrs:
  237. - variable: acl_enable
  238. label: Enable ACL
  239. description: Enable ACL for the storage.
  240. schema:
  241. type: boolean
  242. default: false
  243. - variable: dataset_name
  244. label: Dataset Name
  245. description: The name of the dataset to use for storage.
  246. schema:
  247. type: string
  248. required: true
  249. hidden: true
  250. default: "jwt"
  251. - variable: acl_entries
  252. label: ACL Configuration
  253. schema:
  254. type: dict
  255. show_if: [["acl_enable", "=", true]]
  256. attrs: []
  257. - variable: host_path_config
  258. label: Host Path Configuration
  259. schema:
  260. type: dict
  261. show_if: [["type", "=", "host_path"]]
  262. attrs:
  263. - variable: acl_enable
  264. label: Enable ACL
  265. description: Enable ACL for the storage.
  266. schema:
  267. type: boolean
  268. default: false
  269. - variable: acl
  270. label: ACL Configuration
  271. schema:
  272. type: dict
  273. show_if: [["acl_enable", "=", true]]
  274. attrs: []
  275. $ref:
  276. - "normalize/acl"
  277. - variable: path
  278. label: Host Path
  279. description: The host path to use for storage.
  280. schema:
  281. type: hostpath
  282. show_if: [["acl_enable", "=", false]]
  283. required: true
  284. - variable: mariadb_data
  285. label: Passbolt MariaDB Data Storage
  286. description: The path to store Passbolt MariaDB Data.
  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: "mariadb_data"
  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: additional_storage
  361. label: Additional Storage
  362. schema:
  363. type: list
  364. default: []
  365. items:
  366. - variable: storageEntry
  367. label: Storage Entry
  368. schema:
  369. type: dict
  370. attrs:
  371. - variable: type
  372. label: Type
  373. description: |
  374. ixVolume: Is dataset created automatically by the system.</br>
  375. Host Path: Is a path that already exists on the system.</br>
  376. SMB Share: Is a SMB share that is mounted to as a volume.
  377. schema:
  378. type: string
  379. required: true
  380. default: "ix_volume"
  381. enum:
  382. - value: "host_path"
  383. description: Host Path (Path that already exists on the system)
  384. - value: "ix_volume"
  385. description: ixVolume (Dataset created automatically by the system)
  386. - value: "cifs"
  387. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  388. - variable: read_only
  389. label: Read Only
  390. description: Mount the volume as read only.
  391. schema:
  392. type: boolean
  393. default: false
  394. - variable: mount_path
  395. label: Mount Path
  396. description: The path inside the container to mount the storage.
  397. schema:
  398. type: path
  399. required: true
  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: ix_volume_config
  428. label: ixVolume Configuration
  429. description: The configuration for the ixVolume dataset.
  430. schema:
  431. type: dict
  432. show_if: [["type", "=", "ix_volume"]]
  433. $ref:
  434. - "normalize/ix_volume"
  435. attrs:
  436. - variable: acl_enable
  437. label: Enable ACL
  438. description: Enable ACL for the storage.
  439. schema:
  440. type: boolean
  441. default: false
  442. - variable: dataset_name
  443. label: Dataset Name
  444. description: The name of the dataset to use for storage.
  445. schema:
  446. type: string
  447. required: true
  448. default: "storage_entry"
  449. - variable: acl_entries
  450. label: ACL Configuration
  451. schema:
  452. type: dict
  453. show_if: [["acl_enable", "=", true]]
  454. attrs: []
  455. $ref:
  456. - "normalize/acl"
  457. - variable: cifs_config
  458. label: SMB Configuration
  459. description: The configuration for the SMB dataset.
  460. schema:
  461. type: dict
  462. show_if: [["type", "=", "cifs"]]
  463. attrs:
  464. - variable: server
  465. label: Server
  466. description: The server to mount the SMB share.
  467. schema:
  468. type: string
  469. required: true
  470. - variable: path
  471. label: Path
  472. description: The path to mount the SMB share.
  473. schema:
  474. type: string
  475. required: true
  476. - variable: username
  477. label: Username
  478. description: The username to use for the SMB share.
  479. schema:
  480. type: string
  481. required: true
  482. - variable: password
  483. label: Password
  484. description: The password to use for the SMB share.
  485. schema:
  486. type: string
  487. required: true
  488. private: true
  489. - variable: domain
  490. label: Domain
  491. description: The domain to use for the SMB share.
  492. schema:
  493. type: string
  494. - variable: labels
  495. label: ""
  496. group: Labels Configuration
  497. schema:
  498. type: list
  499. default: []
  500. items:
  501. - variable: label
  502. label: Label
  503. schema:
  504. type: dict
  505. attrs:
  506. - variable: key
  507. label: Key
  508. schema:
  509. type: string
  510. required: true
  511. - variable: value
  512. label: Value
  513. schema:
  514. type: string
  515. required: true
  516. - variable: containers
  517. label: Containers
  518. description: Containers where the label should be applied
  519. schema:
  520. type: list
  521. items:
  522. - variable: container
  523. label: Container
  524. schema:
  525. type: string
  526. required: true
  527. enum:
  528. - value: passbolt
  529. description: passbolt
  530. - value: mariadb
  531. description: mariadb
  532. - variable: resources
  533. label: ""
  534. group: Resources Configuration
  535. schema:
  536. type: dict
  537. attrs:
  538. - variable: limits
  539. label: Limits
  540. schema:
  541. type: dict
  542. attrs:
  543. - variable: cpus
  544. label: CPUs
  545. description: CPUs limit for Passbolt.
  546. schema:
  547. type: int
  548. default: 2
  549. required: true
  550. - variable: memory
  551. label: Memory (in MB)
  552. description: Memory limit for Passbolt.
  553. schema:
  554. type: int
  555. default: 4096
  556. required: true