questions.yaml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696
  1. groups:
  2. - name: Planka Configuration
  3. description: Configure Planka
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Planka
  6. - name: Network Configuration
  7. description: Configure Network for Planka
  8. - name: Storage Configuration
  9. description: Configure Storage for Planka
  10. - name: Labels Configuration
  11. description: Configure Labels for Planka
  12. - name: Resources Configuration
  13. description: Configure Resources for Planka
  14. questions:
  15. - variable: planka
  16. label: ""
  17. group: Planka Configuration
  18. schema:
  19. type: dict
  20. attrs:
  21. - variable: postgres_image_selector
  22. label: Postgres Image (CAUTION)
  23. description: |
  24. If you are changing this after the postgres directory has been initialized,</br>
  25. STOP! and make sure you have a backup of your data.</br>
  26. Changing this will trigger an one way database upgrade.</br>
  27. You can only select newer versions of postgres.</br>
  28. Selecting an older version will refuse to start.</br>
  29. If something goes wrong, you will have to restore from backup.
  30. schema:
  31. type: string
  32. default: postgres_17_image
  33. required: true
  34. enum:
  35. - value: postgres_15_image
  36. description: Postgres 15
  37. - value: postgres_17_image
  38. description: Postgres 17
  39. - variable: db_password
  40. label: Database Password
  41. description: The password for Planka.
  42. schema:
  43. type: string
  44. default: ""
  45. required: true
  46. private: true
  47. - variable: secret_key
  48. label: Secret Key
  49. description: The secret key for Planka.
  50. schema:
  51. type: string
  52. default: ""
  53. required: true
  54. private: true
  55. - variable: default_admin_email
  56. label: Default Admin Email
  57. description: The default admin email for Planka.
  58. schema:
  59. type: string
  60. default: ""
  61. - variable: default_admin_name
  62. label: Default Admin Name
  63. description: The default admin name for Planka.
  64. schema:
  65. type: string
  66. default: ""
  67. show_if: [["default_admin_email", "!=", ""]]
  68. required: true
  69. - variable: default_admin_username
  70. label: Default Admin Username
  71. description: The default admin username for Planka.
  72. schema:
  73. type: string
  74. default: ""
  75. show_if: [["default_admin_email", "!=", ""]]
  76. required: true
  77. - variable: default_admin_password
  78. label: Default Admin Password
  79. description: The default admin password for Planka.
  80. schema:
  81. type: string
  82. default: ""
  83. show_if: [["default_admin_email", "!=", ""]]
  84. private: true
  85. required: true
  86. - variable: base_url
  87. label: BaseURL
  88. description: |
  89. The URL that Planka will be accessible from.</br>
  90. Example: </br>
  91. http://server.ip:30034</br>
  92. https://planka.example.com
  93. schema:
  94. type: uri
  95. default: ""
  96. required: true
  97. - variable: trust_proxy
  98. label: Trust Proxy
  99. description: Trust the reverse proxy when Planka is behind a reverse proxy.
  100. schema:
  101. type: boolean
  102. default: false
  103. - variable: additional_envs
  104. label: Additional Environment Variables
  105. schema:
  106. type: list
  107. default: []
  108. items:
  109. - variable: env
  110. label: Environment Variable
  111. schema:
  112. type: dict
  113. attrs:
  114. - variable: name
  115. label: Name
  116. schema:
  117. type: string
  118. required: true
  119. - variable: value
  120. label: Value
  121. schema:
  122. type: string
  123. - variable: network
  124. label: ""
  125. group: Network Configuration
  126. schema:
  127. type: dict
  128. attrs:
  129. - variable: web_port
  130. label: WebUI Port
  131. schema:
  132. type: dict
  133. attrs:
  134. - variable: bind_mode
  135. label: Port Bind Mode
  136. description: |
  137. The port bind mode.</br>
  138. - Publish: The port will be published on the host for external access.</br>
  139. - Expose: The port will be exposed for inter-container communication.</br>
  140. - None: The port will not be exposed or published.</br>
  141. Note: If the Dockerfile defines an EXPOSE directive,
  142. the port will still be exposed for inter-container communication regardless of this setting.
  143. schema:
  144. type: string
  145. default: "published"
  146. enum:
  147. - value: "published"
  148. description: Publish port on the host for external access
  149. - value: "exposed"
  150. description: Expose port for inter-container communication
  151. - value: ""
  152. description: None
  153. - variable: port_number
  154. label: Port Number
  155. schema:
  156. type: int
  157. default: 30034
  158. min: 1
  159. max: 65535
  160. required: true
  161. - variable: host_ips
  162. label: Host IPs
  163. description: IPs on the host to bind this port
  164. schema:
  165. type: list
  166. show_if: [["bind_mode", "=", "published"]]
  167. default: []
  168. items:
  169. - variable: host_ip
  170. label: Host IP
  171. schema:
  172. type: string
  173. required: true
  174. $ref:
  175. - definitions/node_bind_ip
  176. - variable: storage
  177. label: ""
  178. group: Storage Configuration
  179. schema:
  180. type: dict
  181. attrs:
  182. - variable: avatars
  183. label: Planka Avatars Storage
  184. description: The path to store Planka Avatars.
  185. schema:
  186. type: dict
  187. attrs:
  188. - variable: type
  189. label: Type
  190. description: |
  191. ixVolume: Is dataset created automatically by the system.</br>
  192. Host Path: Is a path that already exists on the system.
  193. schema:
  194. type: string
  195. required: true
  196. default: "ix_volume"
  197. enum:
  198. - value: "host_path"
  199. description: Host Path (Path that already exists on the system)
  200. - value: "ix_volume"
  201. description: ixVolume (Dataset created automatically by the system)
  202. - variable: ix_volume_config
  203. label: ixVolume Configuration
  204. description: The configuration for the ixVolume dataset.
  205. schema:
  206. type: dict
  207. show_if: [["type", "=", "ix_volume"]]
  208. $ref:
  209. - "normalize/ix_volume"
  210. attrs:
  211. - variable: acl_enable
  212. label: Enable ACL
  213. description: Enable ACL for the storage.
  214. schema:
  215. type: boolean
  216. default: false
  217. - variable: dataset_name
  218. label: Dataset Name
  219. description: The name of the dataset to use for storage.
  220. schema:
  221. type: string
  222. required: true
  223. hidden: true
  224. default: "avatars"
  225. - variable: acl_entries
  226. label: ACL Configuration
  227. schema:
  228. type: dict
  229. show_if: [["acl_enable", "=", true]]
  230. attrs: []
  231. - variable: host_path_config
  232. label: Host Path Configuration
  233. schema:
  234. type: dict
  235. show_if: [["type", "=", "host_path"]]
  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: acl
  244. label: ACL Configuration
  245. schema:
  246. type: dict
  247. show_if: [["acl_enable", "=", true]]
  248. attrs: []
  249. $ref:
  250. - "normalize/acl"
  251. - variable: path
  252. label: Host Path
  253. description: The host path to use for storage.
  254. schema:
  255. type: hostpath
  256. show_if: [["acl_enable", "=", false]]
  257. required: true
  258. - variable: background_images
  259. label: Planka Background Images Storage
  260. description: The path to store Planka Background Images.
  261. schema:
  262. type: dict
  263. attrs:
  264. - variable: type
  265. label: Type
  266. description: |
  267. ixVolume: Is dataset created automatically by the system.</br>
  268. Host Path: Is a path that already exists on the system.
  269. schema:
  270. type: string
  271. required: true
  272. default: "ix_volume"
  273. enum:
  274. - value: "host_path"
  275. description: Host Path (Path that already exists on the system)
  276. - value: "ix_volume"
  277. description: ixVolume (Dataset created automatically by the system)
  278. - variable: ix_volume_config
  279. label: ixVolume Configuration
  280. description: The configuration for the ixVolume dataset.
  281. schema:
  282. type: dict
  283. show_if: [["type", "=", "ix_volume"]]
  284. $ref:
  285. - "normalize/ix_volume"
  286. attrs:
  287. - variable: acl_enable
  288. label: Enable ACL
  289. description: Enable ACL for the storage.
  290. schema:
  291. type: boolean
  292. default: false
  293. - variable: dataset_name
  294. label: Dataset Name
  295. description: The name of the dataset to use for storage.
  296. schema:
  297. type: string
  298. required: true
  299. hidden: true
  300. default: "background-images"
  301. - variable: acl_entries
  302. label: ACL Configuration
  303. schema:
  304. type: dict
  305. show_if: [["acl_enable", "=", true]]
  306. attrs: []
  307. - variable: host_path_config
  308. label: Host Path Configuration
  309. schema:
  310. type: dict
  311. show_if: [["type", "=", "host_path"]]
  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: acl
  320. label: ACL Configuration
  321. schema:
  322. type: dict
  323. show_if: [["acl_enable", "=", true]]
  324. attrs: []
  325. $ref:
  326. - "normalize/acl"
  327. - variable: path
  328. label: Host Path
  329. description: The host path to use for storage.
  330. schema:
  331. type: hostpath
  332. show_if: [["acl_enable", "=", false]]
  333. required: true
  334. - variable: attachments
  335. label: Planka Attachments Storage
  336. description: The path to store Planka Attachments.
  337. schema:
  338. type: dict
  339. attrs:
  340. - variable: type
  341. label: Type
  342. description: |
  343. ixVolume: Is dataset created automatically by the system.</br>
  344. Host Path: Is a path that already exists on the system.
  345. schema:
  346. type: string
  347. required: true
  348. default: "ix_volume"
  349. enum:
  350. - value: "host_path"
  351. description: Host Path (Path that already exists on the system)
  352. - value: "ix_volume"
  353. description: ixVolume (Dataset created automatically by the system)
  354. - variable: ix_volume_config
  355. label: ixVolume Configuration
  356. description: The configuration for the ixVolume dataset.
  357. schema:
  358. type: dict
  359. show_if: [["type", "=", "ix_volume"]]
  360. $ref:
  361. - "normalize/ix_volume"
  362. attrs:
  363. - variable: acl_enable
  364. label: Enable ACL
  365. description: Enable ACL for the storage.
  366. schema:
  367. type: boolean
  368. default: false
  369. - variable: dataset_name
  370. label: Dataset Name
  371. description: The name of the dataset to use for storage.
  372. schema:
  373. type: string
  374. required: true
  375. hidden: true
  376. default: "attachments"
  377. - variable: acl_entries
  378. label: ACL Configuration
  379. schema:
  380. type: dict
  381. show_if: [["acl_enable", "=", true]]
  382. attrs: []
  383. - variable: host_path_config
  384. label: Host Path Configuration
  385. schema:
  386. type: dict
  387. show_if: [["type", "=", "host_path"]]
  388. attrs:
  389. - variable: acl_enable
  390. label: Enable ACL
  391. description: Enable ACL for the storage.
  392. schema:
  393. type: boolean
  394. default: false
  395. - variable: acl
  396. label: ACL Configuration
  397. schema:
  398. type: dict
  399. show_if: [["acl_enable", "=", true]]
  400. attrs: []
  401. $ref:
  402. - "normalize/acl"
  403. - variable: path
  404. label: Host Path
  405. description: The host path to use for storage.
  406. schema:
  407. type: hostpath
  408. show_if: [["acl_enable", "=", false]]
  409. required: true
  410. - variable: postgres_data
  411. label: Planka Postgres Data Storage
  412. description: The path to store Planka Postgres Data.
  413. schema:
  414. type: dict
  415. attrs:
  416. - variable: type
  417. label: Type
  418. description: |
  419. ixVolume: Is dataset created automatically by the system.</br>
  420. Host Path: Is a path that already exists on the system.
  421. schema:
  422. type: string
  423. required: true
  424. default: "ix_volume"
  425. enum:
  426. - value: "host_path"
  427. description: Host Path (Path that already exists on the system)
  428. - value: "ix_volume"
  429. description: ixVolume (Dataset created automatically by the system)
  430. - variable: ix_volume_config
  431. label: ixVolume Configuration
  432. description: The configuration for the ixVolume dataset.
  433. schema:
  434. type: dict
  435. show_if: [["type", "=", "ix_volume"]]
  436. $ref:
  437. - "normalize/ix_volume"
  438. attrs:
  439. - variable: acl_enable
  440. label: Enable ACL
  441. description: Enable ACL for the storage.
  442. schema:
  443. type: boolean
  444. default: false
  445. - variable: dataset_name
  446. label: Dataset Name
  447. description: The name of the dataset to use for storage.
  448. schema:
  449. type: string
  450. required: true
  451. hidden: true
  452. default: "postgres_data"
  453. - variable: acl_entries
  454. label: ACL Configuration
  455. schema:
  456. type: dict
  457. show_if: [["acl_enable", "=", true]]
  458. attrs: []
  459. - variable: host_path_config
  460. label: Host Path Configuration
  461. schema:
  462. type: dict
  463. show_if: [["type", "=", "host_path"]]
  464. attrs:
  465. - variable: acl_enable
  466. label: Enable ACL
  467. description: Enable ACL for the storage.
  468. schema:
  469. type: boolean
  470. default: false
  471. - variable: acl
  472. label: ACL Configuration
  473. schema:
  474. type: dict
  475. show_if: [["acl_enable", "=", true]]
  476. attrs: []
  477. $ref:
  478. - "normalize/acl"
  479. - variable: path
  480. label: Host Path
  481. description: The host path to use for storage.
  482. schema:
  483. type: hostpath
  484. show_if: [["acl_enable", "=", false]]
  485. required: true
  486. - variable: auto_permissions
  487. label: Automatic Permissions
  488. description: |
  489. Automatically set permissions for the host path.
  490. Enabling this, will check the top level directory,</br>
  491. If it finds incorrect permissions, it will `chown` the
  492. host path to the user and group required for the
  493. postgres container.
  494. schema:
  495. type: boolean
  496. default: false
  497. show_if: [["acl_enable", "=", false]]
  498. - variable: additional_storage
  499. label: Additional Storage
  500. schema:
  501. type: list
  502. default: []
  503. items:
  504. - variable: storageEntry
  505. label: Storage Entry
  506. schema:
  507. type: dict
  508. attrs:
  509. - variable: type
  510. label: Type
  511. description: |
  512. ixVolume: Is dataset created automatically by the system.</br>
  513. Host Path: Is a path that already exists on the system.</br>
  514. SMB Share: Is a SMB share that is mounted to as a volume.
  515. schema:
  516. type: string
  517. required: true
  518. default: "ix_volume"
  519. enum:
  520. - value: "host_path"
  521. description: Host Path (Path that already exists on the system)
  522. - value: "ix_volume"
  523. description: ixVolume (Dataset created automatically by the system)
  524. - value: "cifs"
  525. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  526. - variable: read_only
  527. label: Read Only
  528. description: Mount the volume as read only.
  529. schema:
  530. type: boolean
  531. default: false
  532. - variable: mount_path
  533. label: Mount Path
  534. description: The path inside the container to mount the storage.
  535. schema:
  536. type: path
  537. required: true
  538. - variable: host_path_config
  539. label: Host Path Configuration
  540. schema:
  541. type: dict
  542. show_if: [["type", "=", "host_path"]]
  543. attrs:
  544. - variable: acl_enable
  545. label: Enable ACL
  546. description: Enable ACL for the storage.
  547. schema:
  548. type: boolean
  549. default: false
  550. - variable: acl
  551. label: ACL Configuration
  552. schema:
  553. type: dict
  554. show_if: [["acl_enable", "=", true]]
  555. attrs: []
  556. $ref:
  557. - "normalize/acl"
  558. - variable: path
  559. label: Host Path
  560. description: The host path to use for storage.
  561. schema:
  562. type: hostpath
  563. show_if: [["acl_enable", "=", false]]
  564. required: true
  565. - variable: ix_volume_config
  566. label: ixVolume Configuration
  567. description: The configuration for the ixVolume dataset.
  568. schema:
  569. type: dict
  570. show_if: [["type", "=", "ix_volume"]]
  571. $ref:
  572. - "normalize/ix_volume"
  573. attrs:
  574. - variable: acl_enable
  575. label: Enable ACL
  576. description: Enable ACL for the storage.
  577. schema:
  578. type: boolean
  579. default: false
  580. - variable: dataset_name
  581. label: Dataset Name
  582. description: The name of the dataset to use for storage.
  583. schema:
  584. type: string
  585. required: true
  586. default: "storage_entry"
  587. - variable: acl_entries
  588. label: ACL Configuration
  589. schema:
  590. type: dict
  591. show_if: [["acl_enable", "=", true]]
  592. attrs: []
  593. $ref:
  594. - "normalize/acl"
  595. - variable: cifs_config
  596. label: SMB Configuration
  597. description: The configuration for the SMB dataset.
  598. schema:
  599. type: dict
  600. show_if: [["type", "=", "cifs"]]
  601. attrs:
  602. - variable: server
  603. label: Server
  604. description: The server to mount the SMB share.
  605. schema:
  606. type: string
  607. required: true
  608. - variable: path
  609. label: Path
  610. description: The path to mount the SMB share.
  611. schema:
  612. type: string
  613. required: true
  614. - variable: username
  615. label: Username
  616. description: The username to use for the SMB share.
  617. schema:
  618. type: string
  619. required: true
  620. - variable: password
  621. label: Password
  622. description: The password to use for the SMB share.
  623. schema:
  624. type: string
  625. required: true
  626. private: true
  627. - variable: domain
  628. label: Domain
  629. description: The domain to use for the SMB share.
  630. schema:
  631. type: string
  632. - variable: labels
  633. label: ""
  634. group: Labels Configuration
  635. schema:
  636. type: list
  637. default: []
  638. items:
  639. - variable: label
  640. label: Label
  641. schema:
  642. type: dict
  643. attrs:
  644. - variable: key
  645. label: Key
  646. schema:
  647. type: string
  648. required: true
  649. - variable: value
  650. label: Value
  651. schema:
  652. type: string
  653. required: true
  654. - variable: containers
  655. label: Containers
  656. description: Containers where the label should be applied
  657. schema:
  658. type: list
  659. items:
  660. - variable: container
  661. label: Container
  662. schema:
  663. type: string
  664. required: true
  665. enum:
  666. - value: planka
  667. description: planka
  668. - value: postgres
  669. description: postgres
  670. - variable: resources
  671. label: ""
  672. group: Resources Configuration
  673. schema:
  674. type: dict
  675. attrs:
  676. - variable: limits
  677. label: Limits
  678. schema:
  679. type: dict
  680. attrs:
  681. - variable: cpus
  682. label: CPUs
  683. description: CPUs limit for Planka.
  684. schema:
  685. type: int
  686. default: 2
  687. required: true
  688. - variable: memory
  689. label: Memory (in MB)
  690. description: Memory limit for Planka.
  691. schema:
  692. type: int
  693. default: 4096
  694. required: true