questions.yaml 19 KB

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