questions.yaml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  1. groups:
  2. - name: Listmonk Configuration
  3. description: Configure Listmonk
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Listmonk
  6. - name: Network Configuration
  7. description: Configure Network for Listmonk
  8. - name: Storage Configuration
  9. description: Configure Storage for Listmonk
  10. - name: Labels Configuration
  11. description: Configure Labels for Listmonk
  12. - name: Resources Configuration
  13. description: Configure Resources for Listmonk
  14. questions:
  15. - variable: listmonk
  16. label: ""
  17. group: Listmonk 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 Listmonk.
  42. schema:
  43. type: string
  44. default: ""
  45. required: true
  46. private: true
  47. - variable: admin_username
  48. label: Admin Username (Optional)
  49. description: |
  50. The username for the Listmonk admin user.</br>
  51. Leave empty to disable authentication.
  52. schema:
  53. type: string
  54. default: ""
  55. - variable: admin_password
  56. label: Admin Password
  57. description: The password for the Listmonk admin user.
  58. schema:
  59. type: string
  60. default: ""
  61. show_if: [["admin_username", "!=", ""]]
  62. required: true
  63. - variable: additional_envs
  64. label: Additional Environment Variables
  65. schema:
  66. type: list
  67. default: []
  68. items:
  69. - variable: env
  70. label: Environment Variable
  71. schema:
  72. type: dict
  73. attrs:
  74. - variable: name
  75. label: Name
  76. schema:
  77. type: string
  78. required: true
  79. - variable: value
  80. label: Value
  81. schema:
  82. type: string
  83. - variable: run_as
  84. label: ""
  85. group: User and Group Configuration
  86. schema:
  87. type: dict
  88. attrs:
  89. - variable: user
  90. label: User ID
  91. description: The user id that Listmonk files will be owned by.
  92. schema:
  93. type: int
  94. min: 568
  95. default: 568
  96. required: true
  97. - variable: group
  98. label: Group ID
  99. description: The group id that Listmonk files will be owned by.
  100. schema:
  101. type: int
  102. min: 568
  103. default: 568
  104. required: true
  105. - variable: network
  106. label: ""
  107. group: Network Configuration
  108. schema:
  109. type: dict
  110. attrs:
  111. - variable: web_port
  112. label: WebUI Port
  113. schema:
  114. type: dict
  115. attrs:
  116. - variable: bind_mode
  117. label: Port Bind Mode
  118. description: |
  119. The port bind mode.</br>
  120. - Publish: The port will be published on the host for external access.</br>
  121. - Expose: The port will be exposed for inter-container communication.</br>
  122. - None: The port will not be exposed or published.</br>
  123. Note: If the Dockerfile defines an EXPOSE directive,
  124. the port will still be exposed for inter-container communication regardless of this setting.
  125. schema:
  126. type: string
  127. default: "published"
  128. enum:
  129. - value: "published"
  130. description: Publish port on the host for external access
  131. - value: "exposed"
  132. description: Expose port for inter-container communication
  133. - value: ""
  134. description: None
  135. - variable: port_number
  136. label: Port Number
  137. schema:
  138. type: int
  139. default: 30087
  140. min: 1
  141. max: 65535
  142. required: true
  143. - variable: host_ips
  144. label: Host IPs
  145. description: IPs on the host to bind this port
  146. schema:
  147. type: list
  148. show_if: [["bind_mode", "=", "published"]]
  149. default: []
  150. items:
  151. - variable: host_ip
  152. label: Host IP
  153. schema:
  154. type: string
  155. required: true
  156. $ref:
  157. - definitions/node_bind_ip
  158. - variable: storage
  159. label: ""
  160. group: Storage Configuration
  161. schema:
  162. type: dict
  163. attrs:
  164. - variable: uploads
  165. label: Listmonk Uploads Storage
  166. description: The path to store Listmonk Uploads.
  167. schema:
  168. type: dict
  169. attrs:
  170. - variable: type
  171. label: Type
  172. description: |
  173. ixVolume: Is dataset created automatically by the system.</br>
  174. Host Path: Is a path that already exists on the system.
  175. schema:
  176. type: string
  177. required: true
  178. default: "ix_volume"
  179. enum:
  180. - value: "host_path"
  181. description: Host Path (Path that already exists on the system)
  182. - value: "ix_volume"
  183. description: ixVolume (Dataset created automatically by the system)
  184. - variable: ix_volume_config
  185. label: ixVolume Configuration
  186. description: The configuration for the ixVolume dataset.
  187. schema:
  188. type: dict
  189. show_if: [["type", "=", "ix_volume"]]
  190. $ref:
  191. - "normalize/ix_volume"
  192. attrs:
  193. - variable: acl_enable
  194. label: Enable ACL
  195. description: Enable ACL for the storage.
  196. schema:
  197. type: boolean
  198. default: false
  199. - variable: dataset_name
  200. label: Dataset Name
  201. description: The name of the dataset to use for storage.
  202. schema:
  203. type: string
  204. required: true
  205. hidden: true
  206. default: "uploads"
  207. - variable: acl_entries
  208. label: ACL Configuration
  209. schema:
  210. type: dict
  211. show_if: [["acl_enable", "=", true]]
  212. attrs: []
  213. - variable: host_path_config
  214. label: Host Path Configuration
  215. schema:
  216. type: dict
  217. show_if: [["type", "=", "host_path"]]
  218. attrs:
  219. - variable: acl_enable
  220. label: Enable ACL
  221. description: Enable ACL for the storage.
  222. schema:
  223. type: boolean
  224. default: false
  225. - variable: acl
  226. label: ACL Configuration
  227. schema:
  228. type: dict
  229. show_if: [["acl_enable", "=", true]]
  230. attrs: []
  231. $ref:
  232. - "normalize/acl"
  233. - variable: path
  234. label: Host Path
  235. description: The host path to use for storage.
  236. schema:
  237. type: hostpath
  238. show_if: [["acl_enable", "=", false]]
  239. required: true
  240. - variable: postgres_data
  241. label: Listmonk Postgres Data Storage
  242. description: The path to store Listmonk Postgres Data.
  243. schema:
  244. type: dict
  245. attrs:
  246. - variable: type
  247. label: Type
  248. description: |
  249. ixVolume: Is dataset created automatically by the system.</br>
  250. Host Path: Is a path that already exists on the system.
  251. schema:
  252. type: string
  253. required: true
  254. default: "ix_volume"
  255. enum:
  256. - value: "host_path"
  257. description: Host Path (Path that already exists on the system)
  258. - value: "ix_volume"
  259. description: ixVolume (Dataset created automatically by the system)
  260. - variable: ix_volume_config
  261. label: ixVolume Configuration
  262. description: The configuration for the ixVolume dataset.
  263. schema:
  264. type: dict
  265. show_if: [["type", "=", "ix_volume"]]
  266. $ref:
  267. - "normalize/ix_volume"
  268. attrs:
  269. - variable: acl_enable
  270. label: Enable ACL
  271. description: Enable ACL for the storage.
  272. schema:
  273. type: boolean
  274. default: false
  275. - variable: dataset_name
  276. label: Dataset Name
  277. description: The name of the dataset to use for storage.
  278. schema:
  279. type: string
  280. required: true
  281. hidden: true
  282. default: "postgres_data"
  283. - variable: acl_entries
  284. label: ACL Configuration
  285. schema:
  286. type: dict
  287. show_if: [["acl_enable", "=", true]]
  288. attrs: []
  289. - variable: host_path_config
  290. label: Host Path Configuration
  291. schema:
  292. type: dict
  293. show_if: [["type", "=", "host_path"]]
  294. attrs:
  295. - variable: acl_enable
  296. label: Enable ACL
  297. description: Enable ACL for the storage.
  298. schema:
  299. type: boolean
  300. default: false
  301. - variable: acl
  302. label: ACL Configuration
  303. schema:
  304. type: dict
  305. show_if: [["acl_enable", "=", true]]
  306. attrs: []
  307. $ref:
  308. - "normalize/acl"
  309. - variable: path
  310. label: Host Path
  311. description: The host path to use for storage.
  312. schema:
  313. type: hostpath
  314. show_if: [["acl_enable", "=", false]]
  315. required: true
  316. - variable: auto_permissions
  317. label: Automatic Permissions
  318. description: |
  319. Automatically set permissions for the host path.
  320. Enabling this, will check the top level directory,</br>
  321. If it finds incorrect permissions, it will `chown` the
  322. host path to the user and group required for the
  323. postgres container.
  324. schema:
  325. type: boolean
  326. default: false
  327. show_if: [["acl_enable", "=", false]]
  328. - variable: additional_storage
  329. label: Additional Storage
  330. schema:
  331. type: list
  332. default: []
  333. items:
  334. - variable: storageEntry
  335. label: Storage Entry
  336. schema:
  337. type: dict
  338. attrs:
  339. - variable: type
  340. label: Type
  341. description: |
  342. ixVolume: Is dataset created automatically by the system.</br>
  343. Host Path: Is a path that already exists on the system.</br>
  344. SMB Share: Is a SMB share that is mounted to as a volume.
  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. - value: "cifs"
  355. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  356. - variable: read_only
  357. label: Read Only
  358. description: Mount the volume as read only.
  359. schema:
  360. type: boolean
  361. default: false
  362. - variable: mount_path
  363. label: Mount Path
  364. description: The path inside the container to mount the storage.
  365. schema:
  366. type: path
  367. required: true
  368. - variable: host_path_config
  369. label: Host Path Configuration
  370. schema:
  371. type: dict
  372. show_if: [["type", "=", "host_path"]]
  373. attrs:
  374. - variable: acl_enable
  375. label: Enable ACL
  376. description: Enable ACL for the storage.
  377. schema:
  378. type: boolean
  379. default: false
  380. - variable: acl
  381. label: ACL Configuration
  382. schema:
  383. type: dict
  384. show_if: [["acl_enable", "=", true]]
  385. attrs: []
  386. $ref:
  387. - "normalize/acl"
  388. - variable: path
  389. label: Host Path
  390. description: The host path to use for storage.
  391. schema:
  392. type: hostpath
  393. show_if: [["acl_enable", "=", false]]
  394. required: true
  395. - variable: ix_volume_config
  396. label: ixVolume Configuration
  397. description: The configuration for the ixVolume dataset.
  398. schema:
  399. type: dict
  400. show_if: [["type", "=", "ix_volume"]]
  401. $ref:
  402. - "normalize/ix_volume"
  403. attrs:
  404. - variable: acl_enable
  405. label: Enable ACL
  406. description: Enable ACL for the storage.
  407. schema:
  408. type: boolean
  409. default: false
  410. - variable: dataset_name
  411. label: Dataset Name
  412. description: The name of the dataset to use for storage.
  413. schema:
  414. type: string
  415. required: true
  416. default: "storage_entry"
  417. - variable: acl_entries
  418. label: ACL Configuration
  419. schema:
  420. type: dict
  421. show_if: [["acl_enable", "=", true]]
  422. attrs: []
  423. $ref:
  424. - "normalize/acl"
  425. - variable: cifs_config
  426. label: SMB Configuration
  427. description: The configuration for the SMB dataset.
  428. schema:
  429. type: dict
  430. show_if: [["type", "=", "cifs"]]
  431. attrs:
  432. - variable: server
  433. label: Server
  434. description: The server to mount the SMB share.
  435. schema:
  436. type: string
  437. required: true
  438. - variable: path
  439. label: Path
  440. description: The path to mount the SMB share.
  441. schema:
  442. type: string
  443. required: true
  444. - variable: username
  445. label: Username
  446. description: The username to use for the SMB share.
  447. schema:
  448. type: string
  449. required: true
  450. - variable: password
  451. label: Password
  452. description: The password to use for the SMB share.
  453. schema:
  454. type: string
  455. required: true
  456. private: true
  457. - variable: domain
  458. label: Domain
  459. description: The domain to use for the SMB share.
  460. schema:
  461. type: string
  462. - variable: labels
  463. label: ""
  464. group: Labels Configuration
  465. schema:
  466. type: list
  467. default: []
  468. items:
  469. - variable: label
  470. label: Label
  471. schema:
  472. type: dict
  473. attrs:
  474. - variable: key
  475. label: Key
  476. schema:
  477. type: string
  478. required: true
  479. - variable: value
  480. label: Value
  481. schema:
  482. type: string
  483. required: true
  484. - variable: containers
  485. label: Containers
  486. description: Containers where the label should be applied
  487. schema:
  488. type: list
  489. items:
  490. - variable: container
  491. label: Container
  492. schema:
  493. type: string
  494. required: true
  495. enum:
  496. - value: listmonk
  497. description: listmonk
  498. - value: postgres
  499. description: postgres
  500. - variable: resources
  501. label: ""
  502. group: Resources Configuration
  503. schema:
  504. type: dict
  505. attrs:
  506. - variable: limits
  507. label: Limits
  508. schema:
  509. type: dict
  510. attrs:
  511. - variable: cpus
  512. label: CPUs
  513. description: CPUs limit for Listmonk.
  514. schema:
  515. type: int
  516. default: 2
  517. required: true
  518. - variable: memory
  519. label: Memory (in MB)
  520. description: Memory limit for Listmonk.
  521. schema:
  522. type: int
  523. default: 4096
  524. required: true