questions.yaml 17 KB

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