questions.yaml 19 KB

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