questions.yaml 18 KB

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