questions.yaml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. groups:
  2. - name: Recyclarr Configuration
  3. description: Configure Recyclarr
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Recyclarr
  6. - name: Storage Configuration
  7. description: Configure Storage for Recyclarr
  8. - name: Resources Configuration
  9. description: Configure Resources for Recyclarr
  10. questions:
  11. - variable: TZ
  12. group: Recyclarr Configuration
  13. label: Timezone
  14. schema:
  15. type: string
  16. default: Etc/UTC
  17. required: true
  18. $ref:
  19. - definitions/timezone
  20. - variable: recyclarrConfig
  21. label: ""
  22. group: Recyclarr Configuration
  23. schema:
  24. type: dict
  25. attrs:
  26. - variable: createConfig
  27. label: Create Default Config
  28. description: |
  29. Enable this if you want /config/recyclarr.yml to be created for
  30. you automatically when the container starts. </br>
  31. If the file already exists, it will not create the file again.
  32. schema:
  33. type: boolean
  34. default: false
  35. - variable: cronSchedule
  36. label: Cron Schedule
  37. description: |
  38. The cron schedule to use for Recyclarr.
  39. schema:
  40. type: string
  41. default: "@daily"
  42. required: true
  43. - variable: additionalEnvs
  44. label: Additional Environment Variables
  45. description: Configure additional environment variables for Recyclarr.
  46. schema:
  47. type: list
  48. default: []
  49. items:
  50. - variable: env
  51. label: Environment Variable
  52. schema:
  53. type: dict
  54. attrs:
  55. - variable: name
  56. label: Name
  57. schema:
  58. type: string
  59. required: true
  60. - variable: value
  61. label: Value
  62. schema:
  63. type: string
  64. required: true
  65. - variable: recyclarrRunAs
  66. label: ""
  67. group: User and Group Configuration
  68. schema:
  69. type: dict
  70. attrs:
  71. - variable: user
  72. label: User ID
  73. description: The user id that Recyclarr will run as.
  74. schema:
  75. type: int
  76. min: 2
  77. default: 568
  78. required: true
  79. - variable: group
  80. label: Group ID
  81. description: The group id that Recyclarr will run as.
  82. schema:
  83. type: int
  84. min: 2
  85. default: 568
  86. required: true
  87. - variable: recyclarrStorage
  88. label: ""
  89. group: Storage Configuration
  90. schema:
  91. type: dict
  92. attrs:
  93. - variable: config
  94. label: Recyclarr Config Storage
  95. description: The path to store Recyclarr Configuration.
  96. schema:
  97. type: dict
  98. attrs:
  99. - variable: type
  100. label: Type
  101. description: |
  102. ixVolume: Is dataset created automatically by the system.</br>
  103. Host Path: Is a path that already exists on the system.
  104. schema:
  105. type: string
  106. required: true
  107. immutable: true
  108. default: "ixVolume"
  109. enum:
  110. - value: "hostPath"
  111. description: Host Path (Path that already exists on the system)
  112. - value: "ixVolume"
  113. description: ixVolume (Dataset created automatically by the system)
  114. - variable: ixVolumeConfig
  115. label: ixVolume Configuration
  116. description: The configuration for the ixVolume dataset.
  117. schema:
  118. type: dict
  119. show_if: [["type", "=", "ixVolume"]]
  120. $ref:
  121. - "normalize/ixVolume"
  122. attrs:
  123. - variable: aclEnable
  124. label: Enable ACL
  125. description: Enable ACL for the dataset.
  126. schema:
  127. type: boolean
  128. default: false
  129. - variable: datasetName
  130. label: Dataset Name
  131. description: The name of the dataset to use for storage.
  132. schema:
  133. type: string
  134. required: true
  135. immutable: true
  136. hidden: true
  137. default: "config"
  138. - variable: aclEntries
  139. label: ACL Configuration
  140. schema:
  141. type: dict
  142. show_if: [["aclEnable", "=", true]]
  143. attrs: []
  144. - variable: hostPathConfig
  145. label: Host Path Configuration
  146. schema:
  147. type: dict
  148. show_if: [["type", "=", "hostPath"]]
  149. attrs:
  150. - variable: aclEnable
  151. label: Enable ACL
  152. description: Enable ACL for the dataset.
  153. schema:
  154. type: boolean
  155. default: false
  156. - variable: acl
  157. label: ACL Configuration
  158. schema:
  159. type: dict
  160. show_if: [["aclEnable", "=", true]]
  161. attrs: []
  162. $ref:
  163. - "normalize/acl"
  164. - variable: hostPath
  165. label: Host Path
  166. description: The host path to use for storage.
  167. schema:
  168. type: hostpath
  169. show_if: [["aclEnable", "=", false]]
  170. required: true
  171. - variable: additionalStorages
  172. label: Additional Storage
  173. description: Additional storage for Recyclarr.
  174. schema:
  175. type: list
  176. default: []
  177. items:
  178. - variable: storageEntry
  179. label: Storage Entry
  180. schema:
  181. type: dict
  182. attrs:
  183. - variable: type
  184. label: Type
  185. description: |
  186. ixVolume: Is dataset created automatically by the system.</br>
  187. Host Path: Is a path that already exists on the system.</br>
  188. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  189. schema:
  190. type: string
  191. required: true
  192. default: "ixVolume"
  193. immutable: true
  194. enum:
  195. - value: "hostPath"
  196. description: Host Path (Path that already exists on the system)
  197. - value: "ixVolume"
  198. description: ixVolume (Dataset created automatically by the system)
  199. - value: "smb-pv-pvc"
  200. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  201. - variable: readOnly
  202. label: Read Only
  203. description: Mount the volume as read only.
  204. schema:
  205. type: boolean
  206. default: false
  207. - variable: mountPath
  208. label: Mount Path
  209. description: The path inside the container to mount the storage.
  210. schema:
  211. type: path
  212. required: true
  213. - variable: hostPathConfig
  214. label: Host Path Configuration
  215. schema:
  216. type: dict
  217. show_if: [["type", "=", "hostPath"]]
  218. attrs:
  219. - variable: aclEnable
  220. label: Enable ACL
  221. description: Enable ACL for the dataset.
  222. schema:
  223. type: boolean
  224. default: false
  225. - variable: acl
  226. label: ACL Configuration
  227. schema:
  228. type: dict
  229. show_if: [["aclEnable", "=", true]]
  230. attrs: []
  231. $ref:
  232. - "normalize/acl"
  233. - variable: hostPath
  234. label: Host Path
  235. description: The host path to use for storage.
  236. schema:
  237. type: hostpath
  238. show_if: [["aclEnable", "=", false]]
  239. required: true
  240. - variable: ixVolumeConfig
  241. label: ixVolume Configuration
  242. description: The configuration for the ixVolume dataset.
  243. schema:
  244. type: dict
  245. show_if: [["type", "=", "ixVolume"]]
  246. $ref:
  247. - "normalize/ixVolume"
  248. attrs:
  249. - variable: aclEnable
  250. label: Enable ACL
  251. description: Enable ACL for the dataset.
  252. schema:
  253. type: boolean
  254. default: false
  255. - variable: datasetName
  256. label: Dataset Name
  257. description: The name of the dataset to use for storage.
  258. schema:
  259. type: string
  260. required: true
  261. immutable: true
  262. default: "storage_entry"
  263. - variable: aclEntries
  264. label: ACL Configuration
  265. schema:
  266. type: dict
  267. show_if: [["aclEnable", "=", true]]
  268. attrs: []
  269. - variable: smbConfig
  270. label: SMB Share Configuration
  271. description: The configuration for the SMB Share.
  272. schema:
  273. type: dict
  274. show_if: [["type", "=", "smb-pv-pvc"]]
  275. attrs:
  276. - variable: server
  277. label: Server
  278. description: The server for the SMB share.
  279. schema:
  280. type: string
  281. required: true
  282. - variable: share
  283. label: Share
  284. description: The share name for the SMB share.
  285. schema:
  286. type: string
  287. required: true
  288. - variable: domain
  289. label: Domain (Optional)
  290. description: The domain for the SMB share.
  291. schema:
  292. type: string
  293. - variable: username
  294. label: Username
  295. description: The username for the SMB share.
  296. schema:
  297. type: string
  298. required: true
  299. - variable: password
  300. label: Password
  301. description: The password for the SMB share.
  302. schema:
  303. type: string
  304. required: true
  305. private: true
  306. - variable: size
  307. label: Size (in Gi)
  308. description: The size of the volume quota.
  309. schema:
  310. type: int
  311. required: true
  312. min: 1
  313. default: 1
  314. - variable: resources
  315. group: Resources Configuration
  316. label: ""
  317. schema:
  318. type: dict
  319. attrs:
  320. - variable: limits
  321. label: Limits
  322. schema:
  323. type: dict
  324. attrs:
  325. - variable: cpu
  326. label: CPU
  327. description: CPU limit for Recyclarr.
  328. schema:
  329. type: string
  330. max_length: 6
  331. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  332. valid_chars_error: |
  333. Valid CPU limit formats are</br>
  334. - Plain Integer - eg. 1</br>
  335. - Float - eg. 0.5</br>
  336. - Milicpu - eg. 500m
  337. default: "4000m"
  338. required: true
  339. - variable: memory
  340. label: Memory
  341. description: Memory limit for Recyclarr.
  342. schema:
  343. type: string
  344. max_length: 12
  345. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  346. valid_chars_error: |
  347. Valid Memory limit formats are</br>
  348. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  349. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  350. - Plain Integer in bytes - eg. 1024</br>
  351. - Exponent - eg. 134e6
  352. default: "8Gi"
  353. required: true