questions.yaml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  1. groups:
  2. - name: Paperless AI Configuration
  3. description: Configure Paperless AI
  4. - name: Network Configuration
  5. description: Configure Network for Paperless AI
  6. - name: Storage Configuration
  7. description: Configure Storage for Paperless AI
  8. - name: Labels Configuration
  9. description: Configure Labels for Paperless AI
  10. - name: Resources Configuration
  11. description: Configure Resources for Paperless AI
  12. questions:
  13. - variable: TZ
  14. group: Paperless AI Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: paperless
  23. label: ""
  24. group: Paperless AI Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: additional_envs
  29. label: Additional Environment Variables
  30. schema:
  31. type: list
  32. default: []
  33. items:
  34. - variable: env
  35. label: Environment Variable
  36. schema:
  37. type: dict
  38. attrs:
  39. - variable: name
  40. label: Name
  41. schema:
  42. type: string
  43. required: true
  44. - variable: value
  45. label: Value
  46. schema:
  47. type: string
  48. - variable: network
  49. label: ""
  50. group: Network Configuration
  51. schema:
  52. type: dict
  53. attrs:
  54. - variable: web_port
  55. label: WebUI Port
  56. schema:
  57. type: dict
  58. attrs:
  59. - variable: bind_mode
  60. label: Port Bind Mode
  61. description: |
  62. The port bind mode.</br>
  63. - Publish: The port will be published on the host for external access.</br>
  64. - Expose: The port will be exposed for inter-container communication.</br>
  65. - None: The port will not be exposed or published.</br>
  66. Note: If the Dockerfile defines an EXPOSE directive,
  67. the port will still be exposed for inter-container communication regardless of this setting.
  68. schema:
  69. type: string
  70. default: "published"
  71. enum:
  72. - value: "published"
  73. description: Publish port on the host for external access
  74. - value: "exposed"
  75. description: Expose port for inter-container communication
  76. - value: ""
  77. description: None
  78. - variable: port_number
  79. label: Port Number
  80. schema:
  81. type: int
  82. default: 30226
  83. min: 1
  84. max: 65535
  85. required: true
  86. - variable: host_ips
  87. label: Host IPs
  88. description: IPs on the host to bind this port
  89. schema:
  90. type: list
  91. show_if: [["bind_mode", "=", "published"]]
  92. default: []
  93. items:
  94. - variable: host_ip
  95. label: Host IP
  96. schema:
  97. type: string
  98. required: true
  99. $ref:
  100. - definitions/node_bind_ip
  101. - variable: host_network
  102. label: Host Network
  103. description: |
  104. Bind to the host network. It's recommended to keep this disabled.
  105. schema:
  106. type: boolean
  107. default: false
  108. - variable: storage
  109. label: ""
  110. group: Storage Configuration
  111. schema:
  112. type: dict
  113. attrs:
  114. - variable: data
  115. label: Data Storage
  116. schema:
  117. type: dict
  118. attrs:
  119. - variable: type
  120. label: Type
  121. description: |
  122. ixVolume: Is dataset created automatically by the system.</br>
  123. Host Path: Is a path that already exists on the system.
  124. schema:
  125. type: string
  126. required: true
  127. default: "ix_volume"
  128. enum:
  129. - value: "host_path"
  130. description: Host Path (Path that already exists on the system)
  131. - value: "ix_volume"
  132. description: ixVolume (Dataset created automatically by the system)
  133. - variable: ix_volume_config
  134. label: ixVolume Configuration
  135. description: The configuration for the ixVolume dataset.
  136. schema:
  137. type: dict
  138. show_if: [["type", "=", "ix_volume"]]
  139. $ref:
  140. - "normalize/ix_volume"
  141. attrs:
  142. - variable: acl_enable
  143. label: Enable ACL
  144. description: Enable ACL for the storage.
  145. schema:
  146. type: boolean
  147. default: false
  148. - variable: dataset_name
  149. label: Dataset Name
  150. description: The name of the dataset to use for storage.
  151. schema:
  152. type: string
  153. required: true
  154. hidden: true
  155. default: "data"
  156. - variable: acl_entries
  157. label: ACL Configuration
  158. schema:
  159. type: dict
  160. show_if: [["acl_enable", "=", true]]
  161. attrs: []
  162. - variable: host_path_config
  163. label: Host Path Configuration
  164. schema:
  165. type: dict
  166. show_if: [["type", "=", "host_path"]]
  167. attrs:
  168. - variable: acl_enable
  169. label: Enable ACL
  170. description: Enable ACL for the storage.
  171. schema:
  172. type: boolean
  173. default: false
  174. - variable: acl
  175. label: ACL Configuration
  176. schema:
  177. type: dict
  178. show_if: [["acl_enable", "=", true]]
  179. attrs: []
  180. $ref:
  181. - "normalize/acl"
  182. - variable: path
  183. label: Host Path
  184. description: The host path to use for storage.
  185. schema:
  186. type: hostpath
  187. show_if: [["acl_enable", "=", false]]
  188. required: true
  189. - variable: additional_storage
  190. label: Additional Storage
  191. schema:
  192. type: list
  193. default: []
  194. items:
  195. - variable: storageEntry
  196. label: Storage Entry
  197. schema:
  198. type: dict
  199. attrs:
  200. - variable: type
  201. label: Type
  202. description: |
  203. ixVolume: Is dataset created automatically by the system.</br>
  204. Host Path: Is a path that already exists on the system.</br>
  205. SMB Share: Is a SMB share that is mounted to as a volume.
  206. schema:
  207. type: string
  208. required: true
  209. default: "ix_volume"
  210. enum:
  211. - value: "host_path"
  212. description: Host Path (Path that already exists on the system)
  213. - value: "ix_volume"
  214. description: ixVolume (Dataset created automatically by the system)
  215. - value: "cifs"
  216. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  217. - variable: read_only
  218. label: Read Only
  219. description: Mount the volume as read only.
  220. schema:
  221. type: boolean
  222. default: false
  223. - variable: mount_path
  224. label: Mount Path
  225. description: The path inside the container to mount the storage.
  226. schema:
  227. type: path
  228. required: true
  229. - variable: host_path_config
  230. label: Host Path Configuration
  231. schema:
  232. type: dict
  233. show_if: [["type", "=", "host_path"]]
  234. attrs:
  235. - variable: acl_enable
  236. label: Enable ACL
  237. description: Enable ACL for the storage.
  238. schema:
  239. type: boolean
  240. default: false
  241. - variable: acl
  242. label: ACL Configuration
  243. schema:
  244. type: dict
  245. show_if: [["acl_enable", "=", true]]
  246. attrs: []
  247. $ref:
  248. - "normalize/acl"
  249. - variable: path
  250. label: Host Path
  251. description: The host path to use for storage.
  252. schema:
  253. type: hostpath
  254. show_if: [["acl_enable", "=", false]]
  255. required: true
  256. - variable: ix_volume_config
  257. label: ixVolume Configuration
  258. description: The configuration for the ixVolume dataset.
  259. schema:
  260. type: dict
  261. show_if: [["type", "=", "ix_volume"]]
  262. $ref:
  263. - "normalize/ix_volume"
  264. attrs:
  265. - variable: acl_enable
  266. label: Enable ACL
  267. description: Enable ACL for the storage.
  268. schema:
  269. type: boolean
  270. default: false
  271. - variable: dataset_name
  272. label: Dataset Name
  273. description: The name of the dataset to use for storage.
  274. schema:
  275. type: string
  276. required: true
  277. default: "storage_entry"
  278. - variable: acl_entries
  279. label: ACL Configuration
  280. schema:
  281. type: dict
  282. show_if: [["acl_enable", "=", true]]
  283. attrs: []
  284. $ref:
  285. - "normalize/acl"
  286. - variable: cifs_config
  287. label: SMB Configuration
  288. description: The configuration for the SMB dataset.
  289. schema:
  290. type: dict
  291. show_if: [["type", "=", "cifs"]]
  292. attrs:
  293. - variable: server
  294. label: Server
  295. description: The server to mount the SMB share.
  296. schema:
  297. type: string
  298. required: true
  299. - variable: path
  300. label: Path
  301. description: The path to mount the SMB share.
  302. schema:
  303. type: string
  304. required: true
  305. - variable: username
  306. label: Username
  307. description: The username to use for the SMB share.
  308. schema:
  309. type: string
  310. required: true
  311. - variable: password
  312. label: Password
  313. description: The password to use for the SMB share.
  314. schema:
  315. type: string
  316. required: true
  317. private: true
  318. - variable: domain
  319. label: Domain
  320. description: The domain to use for the SMB share.
  321. schema:
  322. type: string
  323. - variable: labels
  324. label: ""
  325. group: Labels Configuration
  326. schema:
  327. type: list
  328. default: []
  329. items:
  330. - variable: label
  331. label: Label
  332. schema:
  333. type: dict
  334. attrs:
  335. - variable: key
  336. label: Key
  337. schema:
  338. type: string
  339. required: true
  340. - variable: value
  341. label: Value
  342. schema:
  343. type: string
  344. required: true
  345. - variable: containers
  346. label: Containers
  347. description: Containers where the label should be applied
  348. schema:
  349. type: list
  350. items:
  351. - variable: container
  352. label: Container
  353. schema:
  354. type: string
  355. required: true
  356. enum:
  357. - value: paperless
  358. description: paperless
  359. - variable: resources
  360. label: ""
  361. group: Resources Configuration
  362. schema:
  363. type: dict
  364. attrs:
  365. - variable: limits
  366. label: Limits
  367. schema:
  368. type: dict
  369. attrs:
  370. - variable: cpus
  371. label: CPUs
  372. description: CPUs limit for Paperless AI.
  373. schema:
  374. type: int
  375. default: 2
  376. required: true
  377. - variable: memory
  378. label: Memory (in MB)
  379. description: Memory limit for Paperless AI.
  380. schema:
  381. type: int
  382. default: 4096
  383. required: true