questions.yaml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494
  1. groups:
  2. - name: Navidrome Configuration
  3. description: Configure Navidrome
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Navidrome
  6. - name: Network Configuration
  7. description: Configure Network for Navidrome
  8. - name: Storage Configuration
  9. description: Configure Storage for Navidrome
  10. - name: Labels Configuration
  11. description: Configure Labels for Navidrome
  12. - name: Resources Configuration
  13. description: Configure Resources for Navidrome
  14. questions:
  15. - variable: navidrome
  16. label: ""
  17. group: Navidrome Configuration
  18. schema:
  19. type: dict
  20. attrs:
  21. - variable: local_playback
  22. label: Local Playback
  23. description: |
  24. Enable local playback.</br>
  25. This will allow you to play music from your local machine, by mounting</br>
  26. the sound card to the container.</br>
  27. schema:
  28. type: boolean
  29. default: false
  30. - variable: welcome_message
  31. label: Welcome Message
  32. description: The welcome message to display on the login page.
  33. schema:
  34. type: string
  35. default: "Welcome to Navidrome"
  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 Navidrome 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 Navidrome 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: 30043
  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: data
  146. label: Navidrome Data Storage
  147. description: The path to store Navidrome Data.
  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: "data"
  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: music
  222. label: Navidrome Music Storage
  223. description: The path to store Navidrome Music.
  224. schema:
  225. type: dict
  226. attrs:
  227. - variable: type
  228. label: Type
  229. description: |
  230. ixVolume: Is dataset created automatically by the system.</br>
  231. Host Path: Is a path that already exists on the system.
  232. schema:
  233. type: string
  234. required: true
  235. default: "ix_volume"
  236. enum:
  237. - value: "host_path"
  238. description: Host Path (Path that already exists on the system)
  239. - value: "ix_volume"
  240. description: ixVolume (Dataset created automatically by the system)
  241. - variable: ix_volume_config
  242. label: ixVolume Configuration
  243. description: The configuration for the ixVolume dataset.
  244. schema:
  245. type: dict
  246. show_if: [["type", "=", "ix_volume"]]
  247. $ref:
  248. - "normalize/ix_volume"
  249. attrs:
  250. - variable: acl_enable
  251. label: Enable ACL
  252. description: Enable ACL for the storage.
  253. schema:
  254. type: boolean
  255. default: false
  256. - variable: dataset_name
  257. label: Dataset Name
  258. description: The name of the dataset to use for storage.
  259. schema:
  260. type: string
  261. required: true
  262. hidden: true
  263. default: "music"
  264. - variable: acl_entries
  265. label: ACL Configuration
  266. schema:
  267. type: dict
  268. show_if: [["acl_enable", "=", true]]
  269. attrs: []
  270. - variable: host_path_config
  271. label: Host Path Configuration
  272. schema:
  273. type: dict
  274. show_if: [["type", "=", "host_path"]]
  275. attrs:
  276. - variable: acl_enable
  277. label: Enable ACL
  278. description: Enable ACL for the storage.
  279. schema:
  280. type: boolean
  281. default: false
  282. - variable: acl
  283. label: ACL Configuration
  284. schema:
  285. type: dict
  286. show_if: [["acl_enable", "=", true]]
  287. attrs: []
  288. $ref:
  289. - "normalize/acl"
  290. - variable: path
  291. label: Host Path
  292. description: The host path to use for storage.
  293. schema:
  294. type: hostpath
  295. show_if: [["acl_enable", "=", false]]
  296. required: true
  297. - variable: additional_storage
  298. label: Additional Storage
  299. schema:
  300. type: list
  301. default: []
  302. items:
  303. - variable: storageEntry
  304. label: Storage Entry
  305. schema:
  306. type: dict
  307. attrs:
  308. - variable: type
  309. label: Type
  310. description: |
  311. ixVolume: Is dataset created automatically by the system.</br>
  312. Host Path: Is a path that already exists on the system.</br>
  313. SMB Share: Is a SMB share that is mounted to as a volume.
  314. schema:
  315. type: string
  316. required: true
  317. default: "ix_volume"
  318. enum:
  319. - value: "host_path"
  320. description: Host Path (Path that already exists on the system)
  321. - value: "ix_volume"
  322. description: ixVolume (Dataset created automatically by the system)
  323. - value: "cifs"
  324. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  325. - variable: read_only
  326. label: Read Only
  327. description: Mount the volume as read only.
  328. schema:
  329. type: boolean
  330. default: false
  331. - variable: mount_path
  332. label: Mount Path
  333. description: The path inside the container to mount the storage.
  334. schema:
  335. type: path
  336. required: true
  337. - variable: host_path_config
  338. label: Host Path Configuration
  339. schema:
  340. type: dict
  341. show_if: [["type", "=", "host_path"]]
  342. attrs:
  343. - variable: acl_enable
  344. label: Enable ACL
  345. description: Enable ACL for the storage.
  346. schema:
  347. type: boolean
  348. default: false
  349. - variable: acl
  350. label: ACL Configuration
  351. schema:
  352. type: dict
  353. show_if: [["acl_enable", "=", true]]
  354. attrs: []
  355. $ref:
  356. - "normalize/acl"
  357. - variable: path
  358. label: Host Path
  359. description: The host path to use for storage.
  360. schema:
  361. type: hostpath
  362. show_if: [["acl_enable", "=", false]]
  363. required: true
  364. - variable: ix_volume_config
  365. label: ixVolume Configuration
  366. description: The configuration for the ixVolume dataset.
  367. schema:
  368. type: dict
  369. show_if: [["type", "=", "ix_volume"]]
  370. $ref:
  371. - "normalize/ix_volume"
  372. attrs:
  373. - variable: acl_enable
  374. label: Enable ACL
  375. description: Enable ACL for the storage.
  376. schema:
  377. type: boolean
  378. default: false
  379. - variable: dataset_name
  380. label: Dataset Name
  381. description: The name of the dataset to use for storage.
  382. schema:
  383. type: string
  384. required: true
  385. default: "storage_entry"
  386. - variable: acl_entries
  387. label: ACL Configuration
  388. schema:
  389. type: dict
  390. show_if: [["acl_enable", "=", true]]
  391. attrs: []
  392. $ref:
  393. - "normalize/acl"
  394. - variable: cifs_config
  395. label: SMB Configuration
  396. description: The configuration for the SMB dataset.
  397. schema:
  398. type: dict
  399. show_if: [["type", "=", "cifs"]]
  400. attrs:
  401. - variable: server
  402. label: Server
  403. description: The server to mount the SMB share.
  404. schema:
  405. type: string
  406. required: true
  407. - variable: path
  408. label: Path
  409. description: The path to mount the SMB share.
  410. schema:
  411. type: string
  412. required: true
  413. - variable: username
  414. label: Username
  415. description: The username to use for the SMB share.
  416. schema:
  417. type: string
  418. required: true
  419. - variable: password
  420. label: Password
  421. description: The password to use for the SMB share.
  422. schema:
  423. type: string
  424. required: true
  425. private: true
  426. - variable: domain
  427. label: Domain
  428. description: The domain to use for the SMB share.
  429. schema:
  430. type: string
  431. - variable: labels
  432. label: ""
  433. group: Labels Configuration
  434. schema:
  435. type: list
  436. default: []
  437. items:
  438. - variable: label
  439. label: Label
  440. schema:
  441. type: dict
  442. attrs:
  443. - variable: key
  444. label: Key
  445. schema:
  446. type: string
  447. required: true
  448. - variable: value
  449. label: Value
  450. schema:
  451. type: string
  452. required: true
  453. - variable: containers
  454. label: Containers
  455. description: Containers where the label should be applied
  456. schema:
  457. type: list
  458. items:
  459. - variable: container
  460. label: Container
  461. schema:
  462. type: string
  463. required: true
  464. enum:
  465. - value: navidrome
  466. description: navidrome
  467. - variable: resources
  468. label: ""
  469. group: Resources Configuration
  470. schema:
  471. type: dict
  472. attrs:
  473. - variable: limits
  474. label: Limits
  475. schema:
  476. type: dict
  477. attrs:
  478. - variable: cpus
  479. label: CPUs
  480. description: CPUs limit for Navidrome.
  481. schema:
  482. type: int
  483. default: 2
  484. required: true
  485. - variable: memory
  486. label: Memory (in MB)
  487. description: Memory limit for Navidrome.
  488. schema:
  489. type: int
  490. default: 4096
  491. required: true