questions.yaml 15 KB

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