questions.yaml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  1. groups:
  2. - name: Penpot Configuration
  3. description: Configure Penpot
  4. - name: Network Configuration
  5. description: Configure Network for Penpot
  6. - name: Storage Configuration
  7. description: Configure Storage for Penpot
  8. - name: Labels Configuration
  9. description: Configure Labels for Penpot
  10. - name: Resources Configuration
  11. description: Configure Resources for Penpot
  12. questions:
  13. - variable: penpot
  14. label: ""
  15. group: Penpot Configuration
  16. schema:
  17. type: dict
  18. attrs:
  19. - variable: postgres_image_selector
  20. label: Postgres Image (CAUTION)
  21. description: |
  22. If you are changing this after the postgres directory has been initialized,</br>
  23. STOP! and make sure you have a backup of your data.</br>
  24. Changing this will trigger an one way database upgrade.</br>
  25. You can only select newer versions of postgres.</br>
  26. Selecting an older version will refuse to start.</br>
  27. If something goes wrong, you will have to restore from backup.
  28. schema:
  29. type: string
  30. default: postgres_17_image
  31. required: true
  32. enum:
  33. - value: postgres_15_image
  34. description: Postgres 15
  35. - value: postgres_17_image
  36. description: Postgres 17
  37. - variable: public_uri
  38. label: Public URI
  39. description: The public URI for Penpot.
  40. schema:
  41. type: string
  42. default: ""
  43. required: true
  44. - variable: secret_key
  45. label: Secret Key
  46. description: The secret key for Penpot.
  47. schema:
  48. type: string
  49. default: "change-me"
  50. private: true
  51. required: true
  52. - variable: db_password
  53. label: Database Password
  54. description: The password for Penpot.
  55. schema:
  56. type: string
  57. default: ""
  58. private: true
  59. required: true
  60. - variable: redis_password
  61. label: Redis Password
  62. description: The password for Penpot.
  63. schema:
  64. type: string
  65. default: ""
  66. private: true
  67. required: true
  68. - variable: flags
  69. label: Flags
  70. description: |
  71. Configure flags for Penpot.</br>
  72. The defaults are just enough for getting started and are not recommended for production.</br>
  73. See https://help.penpot.app/technical-guide/configuration
  74. schema:
  75. type: list
  76. default:
  77. - enable: true
  78. name: prepl-server
  79. - enable: true
  80. name: login-with-password
  81. - enable: true
  82. name: registration
  83. - enable: true
  84. name: insecure-register
  85. - enable: true
  86. name: smtp
  87. - enable: true
  88. name: log-emails
  89. - enable: false
  90. name: email-verification
  91. - enable: false
  92. name: secure-session-cookies
  93. items:
  94. - variable: flag
  95. label: Flag
  96. schema:
  97. type: dict
  98. attrs:
  99. - variable: enable
  100. label: Enable or Disable the Flag
  101. description: Check to 'enable' or uncheck to 'disable' the flag
  102. schema:
  103. type: boolean
  104. default: true
  105. - variable: name
  106. label: Name
  107. description: |
  108. The name of the flag. Without the 'enabled-' or 'disabled-' prefix </br>
  109. eg. 'demo-users' or 'registration'
  110. schema:
  111. type: string
  112. required: true
  113. default: ""
  114. - variable: additional_envs
  115. label: Additional Environment Variables
  116. schema:
  117. type: list
  118. default: []
  119. items:
  120. - variable: env
  121. label: Environment Variable
  122. schema:
  123. type: dict
  124. attrs:
  125. - variable: name
  126. label: Name
  127. schema:
  128. type: string
  129. required: true
  130. - variable: value
  131. label: Value
  132. schema:
  133. type: string
  134. - variable: network
  135. label: ""
  136. group: Network Configuration
  137. schema:
  138. type: dict
  139. attrs:
  140. - variable: web_port
  141. label: WebUI Port
  142. schema:
  143. type: dict
  144. attrs:
  145. - variable: bind_mode
  146. label: Port Bind Mode
  147. description: |
  148. The port bind mode.</br>
  149. - Publish: The port will be published on the host for external access.</br>
  150. - Expose: The port will be exposed for inter-container communication.</br>
  151. - None: The port will not be exposed or published.</br>
  152. Note: If the Dockerfile defines an EXPOSE directive,
  153. the port will still be exposed for inter-container communication regardless of this setting.
  154. schema:
  155. type: string
  156. default: "published"
  157. enum:
  158. - value: "published"
  159. description: Publish port on the host for external access
  160. - value: "exposed"
  161. description: Expose port for inter-container communication
  162. - value: ""
  163. description: None
  164. - variable: port_number
  165. label: Port Number
  166. schema:
  167. type: int
  168. default: 31027
  169. min: 1
  170. max: 65535
  171. required: true
  172. - variable: host_ips
  173. label: Host IPs
  174. description: IPs on the host to bind this port
  175. schema:
  176. type: list
  177. show_if: [["bind_mode", "=", "published"]]
  178. default: []
  179. items:
  180. - variable: host_ip
  181. label: Host IP
  182. schema:
  183. type: string
  184. required: true
  185. $ref:
  186. - definitions/node_bind_ip
  187. - variable: storage
  188. label: ""
  189. group: Storage Configuration
  190. schema:
  191. type: dict
  192. attrs:
  193. - variable: assets
  194. label: Penpot Assets Storage
  195. description: The path to store Penpot Assets.
  196. schema:
  197. type: dict
  198. attrs:
  199. - variable: type
  200. label: Type
  201. description: |
  202. ixVolume: Is dataset created automatically by the system.</br>
  203. Host Path: Is a path that already exists on the system.
  204. schema:
  205. type: string
  206. required: true
  207. default: "ix_volume"
  208. enum:
  209. - value: "host_path"
  210. description: Host Path (Path that already exists on the system)
  211. - value: "ix_volume"
  212. description: ixVolume (Dataset created automatically by the system)
  213. - variable: ix_volume_config
  214. label: ixVolume Configuration
  215. description: The configuration for the ixVolume dataset.
  216. schema:
  217. type: dict
  218. show_if: [["type", "=", "ix_volume"]]
  219. $ref:
  220. - "normalize/ix_volume"
  221. attrs:
  222. - variable: acl_enable
  223. label: Enable ACL
  224. description: Enable ACL for the storage.
  225. schema:
  226. type: boolean
  227. default: false
  228. - variable: dataset_name
  229. label: Dataset Name
  230. description: The name of the dataset to use for storage.
  231. schema:
  232. type: string
  233. required: true
  234. hidden: true
  235. default: "assets"
  236. - variable: acl_entries
  237. label: ACL Configuration
  238. schema:
  239. type: dict
  240. show_if: [["acl_enable", "=", true]]
  241. attrs: []
  242. - variable: host_path_config
  243. label: Host Path Configuration
  244. schema:
  245. type: dict
  246. show_if: [["type", "=", "host_path"]]
  247. attrs:
  248. - variable: acl_enable
  249. label: Enable ACL
  250. description: Enable ACL for the storage.
  251. schema:
  252. type: boolean
  253. default: false
  254. - variable: acl
  255. label: ACL Configuration
  256. schema:
  257. type: dict
  258. show_if: [["acl_enable", "=", true]]
  259. attrs: []
  260. $ref:
  261. - "normalize/acl"
  262. - variable: path
  263. label: Host Path
  264. description: The host path to use for storage.
  265. schema:
  266. type: hostpath
  267. show_if: [["acl_enable", "=", false]]
  268. required: true
  269. - variable: postgres_data
  270. label: Penpot Postgres Data Storage
  271. description: The path to store Penpot Postgres Data.
  272. schema:
  273. type: dict
  274. attrs:
  275. - variable: type
  276. label: Type
  277. description: |
  278. ixVolume: Is dataset created automatically by the system.</br>
  279. Host Path: Is a path that already exists on the system.
  280. schema:
  281. type: string
  282. required: true
  283. default: "ix_volume"
  284. enum:
  285. - value: "host_path"
  286. description: Host Path (Path that already exists on the system)
  287. - value: "ix_volume"
  288. description: ixVolume (Dataset created automatically by the system)
  289. - variable: ix_volume_config
  290. label: ixVolume Configuration
  291. description: The configuration for the ixVolume dataset.
  292. schema:
  293. type: dict
  294. show_if: [["type", "=", "ix_volume"]]
  295. $ref:
  296. - "normalize/ix_volume"
  297. attrs:
  298. - variable: acl_enable
  299. label: Enable ACL
  300. description: Enable ACL for the storage.
  301. schema:
  302. type: boolean
  303. default: false
  304. - variable: dataset_name
  305. label: Dataset Name
  306. description: The name of the dataset to use for storage.
  307. schema:
  308. type: string
  309. required: true
  310. hidden: true
  311. default: "postgres_data"
  312. - variable: acl_entries
  313. label: ACL Configuration
  314. schema:
  315. type: dict
  316. show_if: [["acl_enable", "=", true]]
  317. attrs: []
  318. - variable: host_path_config
  319. label: Host Path Configuration
  320. schema:
  321. type: dict
  322. show_if: [["type", "=", "host_path"]]
  323. attrs:
  324. - variable: acl_enable
  325. label: Enable ACL
  326. description: Enable ACL for the storage.
  327. schema:
  328. type: boolean
  329. default: false
  330. - variable: acl
  331. label: ACL Configuration
  332. schema:
  333. type: dict
  334. show_if: [["acl_enable", "=", true]]
  335. attrs: []
  336. $ref:
  337. - "normalize/acl"
  338. - variable: path
  339. label: Host Path
  340. description: The host path to use for storage.
  341. schema:
  342. type: hostpath
  343. show_if: [["acl_enable", "=", false]]
  344. required: true
  345. - variable: auto_permissions
  346. label: Automatic Permissions
  347. description: |
  348. Automatically set permissions for the host path.
  349. Enabling this, will check the top level directory,</br>
  350. If it finds incorrect permissions, it will `chown` the
  351. host path to the user and group required for the
  352. postgres container.
  353. schema:
  354. type: boolean
  355. default: false
  356. show_if: [["acl_enable", "=", false]]
  357. - variable: additional_storage
  358. label: Additional Storage
  359. schema:
  360. type: list
  361. default: []
  362. items:
  363. - variable: storageEntry
  364. label: Storage Entry
  365. schema:
  366. type: dict
  367. attrs:
  368. - variable: type
  369. label: Type
  370. description: |
  371. ixVolume: Is dataset created automatically by the system.</br>
  372. Host Path: Is a path that already exists on the system.</br>
  373. SMB Share: Is a SMB share that is mounted to as a volume.
  374. schema:
  375. type: string
  376. required: true
  377. default: "ix_volume"
  378. enum:
  379. - value: "host_path"
  380. description: Host Path (Path that already exists on the system)
  381. - value: "ix_volume"
  382. description: ixVolume (Dataset created automatically by the system)
  383. - value: "cifs"
  384. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  385. - variable: read_only
  386. label: Read Only
  387. description: Mount the volume as read only.
  388. schema:
  389. type: boolean
  390. default: false
  391. - variable: mount_path
  392. label: Mount Path
  393. description: The path inside the container to mount the storage.
  394. schema:
  395. type: path
  396. required: true
  397. - variable: host_path_config
  398. label: Host Path Configuration
  399. schema:
  400. type: dict
  401. show_if: [["type", "=", "host_path"]]
  402. attrs:
  403. - variable: acl_enable
  404. label: Enable ACL
  405. description: Enable ACL for the storage.
  406. schema:
  407. type: boolean
  408. default: false
  409. - variable: acl
  410. label: ACL Configuration
  411. schema:
  412. type: dict
  413. show_if: [["acl_enable", "=", true]]
  414. attrs: []
  415. $ref:
  416. - "normalize/acl"
  417. - variable: path
  418. label: Host Path
  419. description: The host path to use for storage.
  420. schema:
  421. type: hostpath
  422. show_if: [["acl_enable", "=", false]]
  423. required: true
  424. - variable: ix_volume_config
  425. label: ixVolume Configuration
  426. description: The configuration for the ixVolume dataset.
  427. schema:
  428. type: dict
  429. show_if: [["type", "=", "ix_volume"]]
  430. $ref:
  431. - "normalize/ix_volume"
  432. attrs:
  433. - variable: acl_enable
  434. label: Enable ACL
  435. description: Enable ACL for the storage.
  436. schema:
  437. type: boolean
  438. default: false
  439. - variable: dataset_name
  440. label: Dataset Name
  441. description: The name of the dataset to use for storage.
  442. schema:
  443. type: string
  444. required: true
  445. default: "storage_entry"
  446. - variable: acl_entries
  447. label: ACL Configuration
  448. schema:
  449. type: dict
  450. show_if: [["acl_enable", "=", true]]
  451. attrs: []
  452. $ref:
  453. - "normalize/acl"
  454. - variable: cifs_config
  455. label: SMB Configuration
  456. description: The configuration for the SMB dataset.
  457. schema:
  458. type: dict
  459. show_if: [["type", "=", "cifs"]]
  460. attrs:
  461. - variable: server
  462. label: Server
  463. description: The server to mount the SMB share.
  464. schema:
  465. type: string
  466. required: true
  467. - variable: path
  468. label: Path
  469. description: The path to mount the SMB share.
  470. schema:
  471. type: string
  472. required: true
  473. - variable: username
  474. label: Username
  475. description: The username to use for the SMB share.
  476. schema:
  477. type: string
  478. required: true
  479. - variable: password
  480. label: Password
  481. description: The password to use for the SMB share.
  482. schema:
  483. type: string
  484. required: true
  485. private: true
  486. - variable: domain
  487. label: Domain
  488. description: The domain to use for the SMB share.
  489. schema:
  490. type: string
  491. - variable: labels
  492. label: ""
  493. group: Labels Configuration
  494. schema:
  495. type: list
  496. default: []
  497. items:
  498. - variable: label
  499. label: Label
  500. schema:
  501. type: dict
  502. attrs:
  503. - variable: key
  504. label: Key
  505. schema:
  506. type: string
  507. required: true
  508. - variable: value
  509. label: Value
  510. schema:
  511. type: string
  512. required: true
  513. - variable: containers
  514. label: Containers
  515. description: Containers where the label should be applied
  516. schema:
  517. type: list
  518. items:
  519. - variable: container
  520. label: Container
  521. schema:
  522. type: string
  523. required: true
  524. enum:
  525. - value: penpot-backend
  526. description: penpot-backend
  527. - value: penpot-frontend
  528. description: penpot-frontend
  529. - value: penpot-exporter
  530. description: penpot-exporter
  531. - value: postgres
  532. description: postgres
  533. - value: redis
  534. description: redis
  535. - variable: resources
  536. label: ""
  537. group: Resources Configuration
  538. schema:
  539. type: dict
  540. attrs:
  541. - variable: limits
  542. label: Limits
  543. schema:
  544. type: dict
  545. attrs:
  546. - variable: cpus
  547. label: CPUs
  548. description: CPUs limit for Penpot.
  549. schema:
  550. type: int
  551. default: 2
  552. required: true
  553. - variable: memory
  554. label: Memory (in MB)
  555. description: Memory limit for Penpot.
  556. schema:
  557. type: int
  558. default: 4096
  559. required: true