questions.yaml 15 KB

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