questions.yaml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571
  1. groups:
  2. - name: Unmanic Configuration
  3. description: Configure Unmanic
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Unmanic
  6. - name: Network Configuration
  7. description: Configure Network for Unmanic
  8. - name: Storage Configuration
  9. description: Configure Storage for Unmanic
  10. - name: Labels Configuration
  11. description: Configure Labels for Unmanic
  12. - name: Resources Configuration
  13. description: Configure Resources for Unmanic
  14. questions:
  15. - variable: TZ
  16. group: Unmanic Configuration
  17. label: Timezone
  18. schema:
  19. type: string
  20. default: Etc/UTC
  21. required: true
  22. $ref:
  23. - definitions/timezone
  24. - variable: unmanic
  25. label: ""
  26. group: Unmanic 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 Unmanic 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 Unmanic 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. show_if: [["bind_mode", "=", "published"]]
  107. default: 30123
  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: host_network
  127. label: Host Network
  128. description: |
  129. Bind to the host network. It's recommended to keep this disabled.
  130. schema:
  131. type: boolean
  132. default: false
  133. - variable: storage
  134. label: ""
  135. group: Storage Configuration
  136. schema:
  137. type: dict
  138. attrs:
  139. - variable: config
  140. label: Unmanic Configuration Storage
  141. description: The path to store Unmanic Configuration.
  142. schema:
  143. type: dict
  144. attrs:
  145. - variable: type
  146. label: Type
  147. description: |
  148. ixVolume: Is dataset created automatically by the system.</br>
  149. Host Path: Is a path that already exists on the system.
  150. schema:
  151. type: string
  152. required: true
  153. default: "ix_volume"
  154. enum:
  155. - value: "host_path"
  156. description: Host Path (Path that already exists on the system)
  157. - value: "ix_volume"
  158. description: ixVolume (Dataset created automatically by the system)
  159. - variable: ix_volume_config
  160. label: ixVolume Configuration
  161. description: The configuration for the ixVolume dataset.
  162. schema:
  163. type: dict
  164. show_if: [["type", "=", "ix_volume"]]
  165. $ref:
  166. - "normalize/ix_volume"
  167. attrs:
  168. - variable: acl_enable
  169. label: Enable ACL
  170. description: Enable ACL for the storage.
  171. schema:
  172. type: boolean
  173. default: false
  174. - variable: dataset_name
  175. label: Dataset Name
  176. description: The name of the dataset to use for storage.
  177. schema:
  178. type: string
  179. required: true
  180. hidden: true
  181. default: "config"
  182. - variable: acl_entries
  183. label: ACL Configuration
  184. schema:
  185. type: dict
  186. show_if: [["acl_enable", "=", true]]
  187. attrs: []
  188. - variable: host_path_config
  189. label: Host Path Configuration
  190. schema:
  191. type: dict
  192. show_if: [["type", "=", "host_path"]]
  193. attrs:
  194. - variable: acl_enable
  195. label: Enable ACL
  196. description: Enable ACL for the storage.
  197. schema:
  198. type: boolean
  199. default: false
  200. - variable: acl
  201. label: ACL Configuration
  202. schema:
  203. type: dict
  204. show_if: [["acl_enable", "=", true]]
  205. attrs: []
  206. $ref:
  207. - "normalize/acl"
  208. - variable: path
  209. label: Host Path
  210. description: The host path to use for storage.
  211. schema:
  212. type: hostpath
  213. show_if: [["acl_enable", "=", false]]
  214. required: true
  215. - variable: library
  216. label: Unmanic Library Storage
  217. description: The path to store Unmanic Library.
  218. schema:
  219. type: dict
  220. attrs:
  221. - variable: type
  222. label: Type
  223. description: |
  224. ixVolume: Is dataset created automatically by the system.</br>
  225. Host Path: Is a path that already exists on the system.
  226. schema:
  227. type: string
  228. required: true
  229. default: "ix_volume"
  230. enum:
  231. - value: "host_path"
  232. description: Host Path (Path that already exists on the system)
  233. - value: "ix_volume"
  234. description: ixVolume (Dataset created automatically by the system)
  235. - variable: ix_volume_config
  236. label: ixVolume Configuration
  237. description: The configuration for the ixVolume dataset.
  238. schema:
  239. type: dict
  240. show_if: [["type", "=", "ix_volume"]]
  241. $ref:
  242. - "normalize/ix_volume"
  243. attrs:
  244. - variable: acl_enable
  245. label: Enable ACL
  246. description: Enable ACL for the storage.
  247. schema:
  248. type: boolean
  249. default: false
  250. - variable: dataset_name
  251. label: Dataset Name
  252. description: The name of the dataset to use for storage.
  253. schema:
  254. type: string
  255. required: true
  256. hidden: true
  257. default: "library"
  258. - variable: acl_entries
  259. label: ACL Configuration
  260. schema:
  261. type: dict
  262. show_if: [["acl_enable", "=", true]]
  263. attrs: []
  264. - variable: host_path_config
  265. label: Host Path Configuration
  266. schema:
  267. type: dict
  268. show_if: [["type", "=", "host_path"]]
  269. attrs:
  270. - variable: acl_enable
  271. label: Enable ACL
  272. description: Enable ACL for the storage.
  273. schema:
  274. type: boolean
  275. default: false
  276. - variable: acl
  277. label: ACL Configuration
  278. schema:
  279. type: dict
  280. show_if: [["acl_enable", "=", true]]
  281. attrs: []
  282. $ref:
  283. - "normalize/acl"
  284. - variable: path
  285. label: Host Path
  286. description: The host path to use for storage.
  287. schema:
  288. type: hostpath
  289. show_if: [["acl_enable", "=", false]]
  290. required: true
  291. - variable: encode_cache
  292. label: Unmanic Encode Cache Storage
  293. description: The path to store Unmanic Encode Cache.
  294. schema:
  295. type: dict
  296. attrs:
  297. - variable: type
  298. label: Type
  299. description: |
  300. ixVolume: Is dataset created automatically by the system.</br>
  301. Host Path: Is a path that already exists on the system.
  302. schema:
  303. type: string
  304. required: true
  305. default: "ix_volume"
  306. enum:
  307. - value: "host_path"
  308. description: Host Path (Path that already exists on the system)
  309. - value: "ix_volume"
  310. description: ixVolume (Dataset created automatically by the system)
  311. - variable: ix_volume_config
  312. label: ixVolume Configuration
  313. description: The configuration for the ixVolume dataset.
  314. schema:
  315. type: dict
  316. show_if: [["type", "=", "ix_volume"]]
  317. $ref:
  318. - "normalize/ix_volume"
  319. attrs:
  320. - variable: acl_enable
  321. label: Enable ACL
  322. description: Enable ACL for the storage.
  323. schema:
  324. type: boolean
  325. default: false
  326. - variable: dataset_name
  327. label: Dataset Name
  328. description: The name of the dataset to use for storage.
  329. schema:
  330. type: string
  331. required: true
  332. hidden: true
  333. default: "encode-cache"
  334. - variable: acl_entries
  335. label: ACL Configuration
  336. schema:
  337. type: dict
  338. show_if: [["acl_enable", "=", true]]
  339. attrs: []
  340. - variable: host_path_config
  341. label: Host Path Configuration
  342. schema:
  343. type: dict
  344. show_if: [["type", "=", "host_path"]]
  345. attrs:
  346. - variable: acl_enable
  347. label: Enable ACL
  348. description: Enable ACL for the storage.
  349. schema:
  350. type: boolean
  351. default: false
  352. - variable: acl
  353. label: ACL Configuration
  354. schema:
  355. type: dict
  356. show_if: [["acl_enable", "=", true]]
  357. attrs: []
  358. $ref:
  359. - "normalize/acl"
  360. - variable: path
  361. label: Host Path
  362. description: The host path to use for storage.
  363. schema:
  364. type: hostpath
  365. show_if: [["acl_enable", "=", false]]
  366. required: true
  367. - variable: additional_storage
  368. label: Additional Storage
  369. schema:
  370. type: list
  371. default: []
  372. items:
  373. - variable: storageEntry
  374. label: Storage Entry
  375. schema:
  376. type: dict
  377. attrs:
  378. - variable: type
  379. label: Type
  380. description: |
  381. ixVolume: Is dataset created automatically by the system.</br>
  382. Host Path: Is a path that already exists on the system.</br>
  383. SMB Share: Is a SMB share that is mounted to as a volume.
  384. schema:
  385. type: string
  386. required: true
  387. default: "ix_volume"
  388. enum:
  389. - value: "host_path"
  390. description: Host Path (Path that already exists on the system)
  391. - value: "ix_volume"
  392. description: ixVolume (Dataset created automatically by the system)
  393. - value: "cifs"
  394. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  395. - variable: read_only
  396. label: Read Only
  397. description: Mount the volume as read only.
  398. schema:
  399. type: boolean
  400. default: false
  401. - variable: mount_path
  402. label: Mount Path
  403. description: The path inside the container to mount the storage.
  404. schema:
  405. type: path
  406. required: true
  407. - variable: host_path_config
  408. label: Host Path Configuration
  409. schema:
  410. type: dict
  411. show_if: [["type", "=", "host_path"]]
  412. attrs:
  413. - variable: acl_enable
  414. label: Enable ACL
  415. description: Enable ACL for the storage.
  416. schema:
  417. type: boolean
  418. default: false
  419. - variable: acl
  420. label: ACL Configuration
  421. schema:
  422. type: dict
  423. show_if: [["acl_enable", "=", true]]
  424. attrs: []
  425. $ref:
  426. - "normalize/acl"
  427. - variable: path
  428. label: Host Path
  429. description: The host path to use for storage.
  430. schema:
  431. type: hostpath
  432. show_if: [["acl_enable", "=", false]]
  433. required: true
  434. - variable: ix_volume_config
  435. label: ixVolume Configuration
  436. description: The configuration for the ixVolume dataset.
  437. schema:
  438. type: dict
  439. show_if: [["type", "=", "ix_volume"]]
  440. $ref:
  441. - "normalize/ix_volume"
  442. attrs:
  443. - variable: acl_enable
  444. label: Enable ACL
  445. description: Enable ACL for the storage.
  446. schema:
  447. type: boolean
  448. default: false
  449. - variable: dataset_name
  450. label: Dataset Name
  451. description: The name of the dataset to use for storage.
  452. schema:
  453. type: string
  454. required: true
  455. default: "storage_entry"
  456. - variable: acl_entries
  457. label: ACL Configuration
  458. schema:
  459. type: dict
  460. show_if: [["acl_enable", "=", true]]
  461. attrs: []
  462. $ref:
  463. - "normalize/acl"
  464. - variable: cifs_config
  465. label: SMB Configuration
  466. description: The configuration for the SMB dataset.
  467. schema:
  468. type: dict
  469. show_if: [["type", "=", "cifs"]]
  470. attrs:
  471. - variable: server
  472. label: Server
  473. description: The server to mount the SMB share.
  474. schema:
  475. type: string
  476. required: true
  477. - variable: path
  478. label: Path
  479. description: The path to mount the SMB share.
  480. schema:
  481. type: string
  482. required: true
  483. - variable: username
  484. label: Username
  485. description: The username to use for the SMB share.
  486. schema:
  487. type: string
  488. required: true
  489. - variable: password
  490. label: Password
  491. description: The password to use for the SMB share.
  492. schema:
  493. type: string
  494. required: true
  495. private: true
  496. - variable: domain
  497. label: Domain
  498. description: The domain to use for the SMB share.
  499. schema:
  500. type: string
  501. - variable: labels
  502. label: ""
  503. group: Labels Configuration
  504. schema:
  505. type: list
  506. default: []
  507. items:
  508. - variable: label
  509. label: Label
  510. schema:
  511. type: dict
  512. attrs:
  513. - variable: key
  514. label: Key
  515. schema:
  516. type: string
  517. required: true
  518. - variable: value
  519. label: Value
  520. schema:
  521. type: string
  522. required: true
  523. - variable: containers
  524. label: Containers
  525. description: Containers where the label should be applied
  526. schema:
  527. type: list
  528. items:
  529. - variable: container
  530. label: Container
  531. schema:
  532. type: string
  533. required: true
  534. enum:
  535. - value: unmanic
  536. description: unmanic
  537. - variable: resources
  538. label: ""
  539. group: Resources Configuration
  540. schema:
  541. type: dict
  542. attrs:
  543. - variable: limits
  544. label: Limits
  545. schema:
  546. type: dict
  547. attrs:
  548. - variable: cpus
  549. label: CPUs
  550. description: CPUs limit for Unmanic.
  551. schema:
  552. type: int
  553. default: 2
  554. required: true
  555. - variable: memory
  556. label: Memory (in MB)
  557. description: Memory limit for Unmanic.
  558. schema:
  559. type: int
  560. default: 4096
  561. required: true
  562. - variable: gpus
  563. group: Resources Configuration
  564. label: GPU Configuration
  565. schema:
  566. type: dict
  567. $ref:
  568. - "definitions/gpu_configuration"
  569. attrs: []