questions.yaml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
  1. groups:
  2. - name: Chatwoot Configuration
  3. description: Configure Chatwoot
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Chatwoot
  6. - name: Network Configuration
  7. description: Configure Network for Chatwoot
  8. - name: Storage Configuration
  9. description: Configure Storage for Chatwoot
  10. - name: Labels Configuration
  11. description: Configure Labels for Chatwoot
  12. - name: Resources Configuration
  13. description: Configure Resources for Chatwoot
  14. questions:
  15. - variable: TZ
  16. group: Chatwoot Configuration
  17. label: Timezone
  18. schema:
  19. type: string
  20. default: Etc/UTC
  21. required: true
  22. $ref:
  23. - definitions/timezone
  24. - variable: chatwoot
  25. label: ""
  26. group: Chatwoot Configuration
  27. schema:
  28. type: dict
  29. attrs:
  30. - variable: image_selector
  31. label: Chatwoot Image
  32. schema:
  33. type: string
  34. default: ce_image
  35. required: true
  36. enum:
  37. - value: image
  38. description: Chatwoot Enterprise Edition
  39. - value: ce_image
  40. description: Chatwoot Community Edition
  41. - variable: postgres_image_selector
  42. label: Postgres Image (CAUTION)
  43. description: |
  44. If you are changing this after the postgres directory has been initialized,</br>
  45. STOP! and make sure you have a backup of your data.</br>
  46. Changing this will trigger an one way database upgrade.</br>
  47. You can only select newer versions of postgres.</br>
  48. Selecting an older version will refuse to start.</br>
  49. If something goes wrong, you will have to restore from backup.
  50. schema:
  51. type: string
  52. default: postgres_17_image
  53. required: true
  54. enum:
  55. - value: postgres_17_image
  56. description: Postgres 17
  57. - variable: db_password
  58. label: Database Password
  59. description: The password for Chatwoot.
  60. schema:
  61. type: string
  62. default: ""
  63. required: true
  64. private: true
  65. - variable: redis_password
  66. label: Redis Password
  67. schema:
  68. type: string
  69. default: ""
  70. required: true
  71. private: true
  72. - variable: secret_key_base
  73. label: Secret Key Base
  74. description: |
  75. The secret key base is used to encrypt sensitive data.</br>
  76. It should be a long, random string.</br>
  77. If you change this, all existing sessions will be invalidated.
  78. schema:
  79. type: string
  80. default: ""
  81. valid_chars: "^[a-zA-Z0-9]+$"
  82. valid_chars_error: Please use only alphanumeric characters for the secret key base.
  83. required: true
  84. private: true
  85. - variable: enable_account_signup
  86. label: Enable Account Signup
  87. schema:
  88. type: string
  89. default: "true"
  90. required: true
  91. enum:
  92. - value: "true"
  93. description: Enable account signup
  94. - value: "false"
  95. description: Disable account signup
  96. - value: "api_only"
  97. description: Disable UI account signup and only allow API account creation
  98. - variable: frontend_url
  99. label: Frontend URL
  100. description: |
  101. The URL that Chatwoot will be accessible at.</br>
  102. Examples:</br>
  103. - http://192.168.1.100:30208</br>
  104. - https://chatwoot.example.com</br>
  105. schema:
  106. type: uri
  107. default: ""
  108. required: true
  109. - variable: additional_envs
  110. label: Additional Environment Variables
  111. schema:
  112. type: list
  113. default: []
  114. items:
  115. - variable: env
  116. label: Environment Variable
  117. schema:
  118. type: dict
  119. attrs:
  120. - variable: name
  121. label: Name
  122. schema:
  123. type: string
  124. required: true
  125. - variable: value
  126. label: Value
  127. schema:
  128. type: string
  129. - variable: run_as
  130. label: ""
  131. group: User and Group Configuration
  132. schema:
  133. type: dict
  134. attrs:
  135. - variable: user
  136. label: User ID
  137. description: The user id that Chatwoot files will be owned by.
  138. schema:
  139. type: int
  140. min: 568
  141. default: 568
  142. required: true
  143. - variable: group
  144. label: Group ID
  145. description: The group id that Chatwoot files will be owned by.
  146. schema:
  147. type: int
  148. min: 568
  149. default: 568
  150. required: true
  151. - variable: network
  152. label: ""
  153. group: Network Configuration
  154. schema:
  155. type: dict
  156. attrs:
  157. - variable: web_port
  158. label: WebUI Port
  159. schema:
  160. type: dict
  161. attrs:
  162. - variable: bind_mode
  163. label: Port Bind Mode
  164. description: |
  165. The port bind mode.</br>
  166. - Publish: The port will be published on the host for external access.</br>
  167. - Expose: The port will be exposed for inter-container communication.</br>
  168. - None: The port will not be exposed or published.</br>
  169. Note: If the Dockerfile defines an EXPOSE directive,
  170. the port will still be exposed for inter-container communication regardless of this setting.
  171. schema:
  172. type: string
  173. default: "published"
  174. enum:
  175. - value: "published"
  176. description: Publish port on the host for external access
  177. - value: "exposed"
  178. description: Expose port for inter-container communication
  179. - value: ""
  180. description: None
  181. - variable: port_number
  182. label: Port Number
  183. schema:
  184. type: int
  185. default: 30208
  186. min: 1
  187. max: 65535
  188. required: true
  189. - variable: host_ips
  190. label: Host IPs
  191. description: IPs on the host to bind this port
  192. schema:
  193. type: list
  194. show_if: [["bind_mode", "=", "published"]]
  195. default: []
  196. items:
  197. - variable: host_ip
  198. label: Host IP
  199. schema:
  200. type: string
  201. required: true
  202. $ref:
  203. - definitions/node_bind_ip
  204. - variable: storage
  205. label: ""
  206. group: Storage Configuration
  207. schema:
  208. type: dict
  209. attrs:
  210. - variable: data
  211. label: Data 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: "data"
  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: postgres_data
  286. label: Postgres Data Storage
  287. description: The path to store Postgres Data.
  288. schema:
  289. type: dict
  290. attrs:
  291. - variable: type
  292. label: Type
  293. description: |
  294. ixVolume: Is dataset created automatically by the system.</br>
  295. Host Path: Is a path that already exists on the system.
  296. schema:
  297. type: string
  298. required: true
  299. default: "ix_volume"
  300. enum:
  301. - value: "host_path"
  302. description: Host Path (Path that already exists on the system)
  303. - value: "ix_volume"
  304. description: ixVolume (Dataset created automatically by the system)
  305. - variable: ix_volume_config
  306. label: ixVolume Configuration
  307. description: The configuration for the ixVolume dataset.
  308. schema:
  309. type: dict
  310. show_if: [["type", "=", "ix_volume"]]
  311. $ref:
  312. - "normalize/ix_volume"
  313. attrs:
  314. - variable: acl_enable
  315. label: Enable ACL
  316. description: Enable ACL for the storage.
  317. schema:
  318. type: boolean
  319. default: false
  320. - variable: dataset_name
  321. label: Dataset Name
  322. description: The name of the dataset to use for storage.
  323. schema:
  324. type: string
  325. required: true
  326. hidden: true
  327. default: "pg_data"
  328. - variable: acl_entries
  329. label: ACL Configuration
  330. schema:
  331. type: dict
  332. show_if: [["acl_enable", "=", true]]
  333. attrs: []
  334. - variable: host_path_config
  335. label: Host Path Configuration
  336. schema:
  337. type: dict
  338. show_if: [["type", "=", "host_path"]]
  339. attrs:
  340. - variable: acl_enable
  341. label: Enable ACL
  342. description: Enable ACL for the storage.
  343. schema:
  344. type: boolean
  345. default: false
  346. - variable: acl
  347. label: ACL Configuration
  348. schema:
  349. type: dict
  350. show_if: [["acl_enable", "=", true]]
  351. attrs: []
  352. $ref:
  353. - "normalize/acl"
  354. - variable: path
  355. label: Host Path
  356. description: The host path to use for storage.
  357. schema:
  358. type: hostpath
  359. show_if: [["acl_enable", "=", false]]
  360. required: true
  361. - variable: auto_permissions
  362. label: Automatic Permissions
  363. description: |
  364. Automatically set permissions for the host path.
  365. Enabling this, will check the top level directory,</br>
  366. If it finds incorrect permissions, it will `chown` the
  367. host path to the user and group required for the
  368. postgres container.
  369. schema:
  370. type: boolean
  371. default: false
  372. show_if: [["acl_enable", "=", false]]
  373. - variable: additional_storage
  374. label: Additional Storage
  375. schema:
  376. type: list
  377. default: []
  378. items:
  379. - variable: storageEntry
  380. label: Storage Entry
  381. schema:
  382. type: dict
  383. attrs:
  384. - variable: type
  385. label: Type
  386. description: |
  387. ixVolume: Is dataset created automatically by the system.</br>
  388. Host Path: Is a path that already exists on the system.</br>
  389. SMB Share: Is a SMB share that is mounted to as a volume.
  390. schema:
  391. type: string
  392. required: true
  393. default: "ix_volume"
  394. enum:
  395. - value: "host_path"
  396. description: Host Path (Path that already exists on the system)
  397. - value: "ix_volume"
  398. description: ixVolume (Dataset created automatically by the system)
  399. - value: "cifs"
  400. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  401. - variable: read_only
  402. label: Read Only
  403. description: Mount the volume as read only.
  404. schema:
  405. type: boolean
  406. default: false
  407. - variable: mount_path
  408. label: Mount Path
  409. description: The path inside the container to mount the storage.
  410. schema:
  411. type: path
  412. required: true
  413. - variable: host_path_config
  414. label: Host Path Configuration
  415. schema:
  416. type: dict
  417. show_if: [["type", "=", "host_path"]]
  418. attrs:
  419. - variable: acl_enable
  420. label: Enable ACL
  421. description: Enable ACL for the storage.
  422. schema:
  423. type: boolean
  424. default: false
  425. - variable: acl
  426. label: ACL Configuration
  427. schema:
  428. type: dict
  429. show_if: [["acl_enable", "=", true]]
  430. attrs: []
  431. $ref:
  432. - "normalize/acl"
  433. - variable: path
  434. label: Host Path
  435. description: The host path to use for storage.
  436. schema:
  437. type: hostpath
  438. show_if: [["acl_enable", "=", false]]
  439. required: true
  440. - variable: ix_volume_config
  441. label: ixVolume Configuration
  442. description: The configuration for the ixVolume dataset.
  443. schema:
  444. type: dict
  445. show_if: [["type", "=", "ix_volume"]]
  446. $ref:
  447. - "normalize/ix_volume"
  448. attrs:
  449. - variable: acl_enable
  450. label: Enable ACL
  451. description: Enable ACL for the storage.
  452. schema:
  453. type: boolean
  454. default: false
  455. - variable: dataset_name
  456. label: Dataset Name
  457. description: The name of the dataset to use for storage.
  458. schema:
  459. type: string
  460. required: true
  461. default: "storage_entry"
  462. - variable: acl_entries
  463. label: ACL Configuration
  464. schema:
  465. type: dict
  466. show_if: [["acl_enable", "=", true]]
  467. attrs: []
  468. $ref:
  469. - "normalize/acl"
  470. - variable: cifs_config
  471. label: SMB Configuration
  472. description: The configuration for the SMB dataset.
  473. schema:
  474. type: dict
  475. show_if: [["type", "=", "cifs"]]
  476. attrs:
  477. - variable: server
  478. label: Server
  479. description: The server to mount the SMB share.
  480. schema:
  481. type: string
  482. required: true
  483. - variable: path
  484. label: Path
  485. description: The path to mount the SMB share.
  486. schema:
  487. type: string
  488. required: true
  489. - variable: username
  490. label: Username
  491. description: The username to use for the SMB share.
  492. schema:
  493. type: string
  494. required: true
  495. - variable: password
  496. label: Password
  497. description: The password to use for the SMB share.
  498. schema:
  499. type: string
  500. required: true
  501. private: true
  502. - variable: domain
  503. label: Domain
  504. description: The domain to use for the SMB share.
  505. schema:
  506. type: string
  507. - variable: labels
  508. label: ""
  509. group: Labels Configuration
  510. schema:
  511. type: list
  512. default: []
  513. items:
  514. - variable: label
  515. label: Label
  516. schema:
  517. type: dict
  518. attrs:
  519. - variable: key
  520. label: Key
  521. schema:
  522. type: string
  523. required: true
  524. - variable: value
  525. label: Value
  526. schema:
  527. type: string
  528. required: true
  529. - variable: containers
  530. label: Containers
  531. description: Containers where the label should be applied
  532. schema:
  533. type: list
  534. items:
  535. - variable: container
  536. label: Container
  537. schema:
  538. type: string
  539. required: true
  540. enum:
  541. - value: chatwoot
  542. description: chatwoot
  543. - value: sidekiq
  544. description: sidekiq
  545. - value: postgres
  546. description: postgres
  547. - value: redis
  548. description: redis
  549. - variable: resources
  550. label: ""
  551. group: Resources Configuration
  552. schema:
  553. type: dict
  554. attrs:
  555. - variable: limits
  556. label: Limits
  557. schema:
  558. type: dict
  559. attrs:
  560. - variable: cpus
  561. label: CPUs
  562. description: CPUs limit for Chatwoot.
  563. schema:
  564. type: int
  565. default: 2
  566. required: true
  567. - variable: memory
  568. label: Memory (in MB)
  569. description: Memory limit for Chatwoot.
  570. schema:
  571. type: int
  572. default: 4096
  573. required: true