questions.yaml 14 KB

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