questions.yaml 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  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: datasetName
  115. label: Dataset Name
  116. schema:
  117. type: string
  118. show_if: [["type", "=", "ixVolume"]]
  119. required: true
  120. hidden: true
  121. immutable: true
  122. default: "config"
  123. $ref:
  124. - "normalize/ixVolume"
  125. - variable: hostPath
  126. label: Host Path
  127. schema:
  128. type: hostpath
  129. show_if: [["type", "=", "hostPath"]]
  130. immutable: true
  131. required: true
  132. - variable: additionalStorages
  133. label: Additional Storage
  134. description: Additional storage for Recyclarr.
  135. schema:
  136. type: list
  137. default: []
  138. items:
  139. - variable: storageEntry
  140. label: Storage Entry
  141. schema:
  142. type: dict
  143. attrs:
  144. - variable: type
  145. label: Type
  146. description: |
  147. ixVolume: Is dataset created automatically by the system.</br>
  148. Host Path: Is a path that already exists on the system.</br>
  149. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  150. schema:
  151. type: string
  152. required: true
  153. default: "ixVolume"
  154. immutable: true
  155. enum:
  156. - value: "hostPath"
  157. description: Host Path (Path that already exists on the system)
  158. - value: "ixVolume"
  159. description: ixVolume (Dataset created automatically by the system)
  160. - value: "smb-pv-pvc"
  161. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  162. - variable: mountPath
  163. label: Mount Path
  164. description: The path inside the container to mount the storage.
  165. schema:
  166. type: path
  167. required: true
  168. - variable: hostPath
  169. label: Host Path
  170. description: The host path to use for storage.
  171. schema:
  172. type: hostpath
  173. show_if: [["type", "=", "hostPath"]]
  174. required: true
  175. - variable: datasetName
  176. label: Dataset Name
  177. description: The name of the dataset to use for storage.
  178. schema:
  179. type: string
  180. show_if: [["type", "=", "ixVolume"]]
  181. required: true
  182. immutable: true
  183. default: "storage_entry"
  184. $ref:
  185. - "normalize/ixVolume"
  186. - variable: server
  187. label: Server
  188. description: The server for the SMB share.
  189. schema:
  190. type: string
  191. show_if: [["type", "=", "smb-pv-pvc"]]
  192. required: true
  193. - variable: share
  194. label: Share
  195. description: The share name for the SMB share.
  196. schema:
  197. type: string
  198. show_if: [["type", "=", "smb-pv-pvc"]]
  199. required: true
  200. - variable: domain
  201. label: Domain (Optional)
  202. description: The domain for the SMB share.
  203. schema:
  204. type: string
  205. show_if: [["type", "=", "smb-pv-pvc"]]
  206. - variable: username
  207. label: Username
  208. description: The username for the SMB share.
  209. schema:
  210. type: string
  211. show_if: [["type", "=", "smb-pv-pvc"]]
  212. required: true
  213. - variable: password
  214. label: Password
  215. description: The password for the SMB share.
  216. schema:
  217. type: string
  218. show_if: [["type", "=", "smb-pv-pvc"]]
  219. required: true
  220. private: true
  221. - variable: size
  222. label: Size (in Gi)
  223. description: The size of the volume quota.
  224. schema:
  225. type: int
  226. show_if: [["type", "=", "smb-pv-pvc"]]
  227. required: true
  228. min: 1
  229. default: 1
  230. - variable: resources
  231. group: Resources Configuration
  232. label: ""
  233. schema:
  234. type: dict
  235. attrs:
  236. - variable: limits
  237. label: Limits
  238. schema:
  239. type: dict
  240. attrs:
  241. - variable: cpu
  242. label: CPU
  243. description: CPU limit for Recyclarr.
  244. schema:
  245. type: string
  246. max_length: 6
  247. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  248. valid_chars_error: |
  249. Valid CPU limit formats are</br>
  250. - Plain Integer - eg. 1</br>
  251. - Float - eg. 0.5</br>
  252. - Milicpu - eg. 500m
  253. default: "4000m"
  254. required: true
  255. - variable: memory
  256. label: Memory
  257. description: Memory limit for Recyclarr.
  258. schema:
  259. type: string
  260. max_length: 12
  261. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  262. valid_chars_error: |
  263. Valid Memory limit formats are</br>
  264. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  265. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  266. - Plain Integer in bytes - eg. 1024</br>
  267. - Exponent - eg. 134e6
  268. default: "8Gi"
  269. required: true