questions.yaml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. groups:
  2. - name: Plex Auto Languages Configuration
  3. description: Configure Plex Auto Languages
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Plex Auto Languages
  6. - name: Network Configuration
  7. description: Configure Network for Plex Auto Languages
  8. - name: Storage Configuration
  9. description: Configure Storage for Plex Auto Languages
  10. - name: Labels Configuration
  11. description: Configure Labels for Plex Auto Languages
  12. - name: Resources Configuration
  13. description: Configure Resources for Plex Auto Languages
  14. questions:
  15. - variable: TZ
  16. group: Plex Auto Languages Configuration
  17. label: Timezone
  18. schema:
  19. type: string
  20. default: "Etc/UTC"
  21. required: true
  22. $ref:
  23. - "definitions/timezone"
  24. - variable: plex_auto_languages
  25. label: ""
  26. group: Plex Auto Languages Configuration
  27. schema:
  28. type: dict
  29. attrs:
  30. - variable: plex_url
  31. label: Plex URL
  32. description: The URL of your Plex server.
  33. schema:
  34. type: string
  35. required: true
  36. - variable: plex_token
  37. label: Plex Token
  38. description: |
  39. The token to your Plex server.</br>
  40. More information on how to get your
  41. token can be found here https://github.com/RemiRigal/Plex-Auto-Languages#getting-started
  42. schema:
  43. type: string
  44. required: true
  45. - variable: additional_envs
  46. label: Additional Environment Variables
  47. schema:
  48. type: list
  49. default: []
  50. items:
  51. - variable: env
  52. label: Environment Variable
  53. schema:
  54. type: dict
  55. attrs:
  56. - variable: name
  57. label: Name
  58. schema:
  59. type: string
  60. required: true
  61. - variable: value
  62. label: Value
  63. schema:
  64. type: string
  65. - variable: run_as
  66. label: ""
  67. group: User and Group Configuration
  68. schema:
  69. type: dict
  70. attrs:
  71. - variable: user
  72. label: User ID
  73. description: The user id that Plex Auto Languages files will be owned by.
  74. schema:
  75. type: int
  76. min: 568
  77. default: 568
  78. required: true
  79. - variable: group
  80. label: Group ID
  81. description: The group id that Plex Auto Languages files will be owned by.
  82. schema:
  83. type: int
  84. min: 568
  85. default: 568
  86. required: true
  87. - variable: network
  88. label: ""
  89. group: Network Configuration
  90. schema:
  91. type: dict
  92. attrs:
  93. - variable: host_network
  94. label: Host Network
  95. description: |
  96. Bind to the host network. It's recommended to keep this disabled.
  97. schema:
  98. type: boolean
  99. default: false
  100. - variable: storage
  101. label: ""
  102. group: Storage Configuration
  103. schema:
  104. type: dict
  105. attrs:
  106. - variable: config
  107. label: Plex Auto Languages Config Storage
  108. description: The path to store Plex Auto Languages Config.
  109. schema:
  110. type: dict
  111. attrs:
  112. - variable: type
  113. label: Type
  114. description: |
  115. ixVolume: Is dataset created automatically by the system.</br>
  116. Host Path: Is a path that already exists on the system.
  117. schema:
  118. type: string
  119. required: true
  120. default: "ix_volume"
  121. enum:
  122. - value: "host_path"
  123. description: Host Path (Path that already exists on the system)
  124. - value: "ix_volume"
  125. description: ixVolume (Dataset created automatically by the system)
  126. - variable: ix_volume_config
  127. label: ixVolume Configuration
  128. description: The configuration for the ixVolume dataset.
  129. schema:
  130. type: dict
  131. show_if: [["type", "=", "ix_volume"]]
  132. $ref:
  133. - "normalize/ix_volume"
  134. attrs:
  135. - variable: acl_enable
  136. label: Enable ACL
  137. description: Enable ACL for the storage.
  138. schema:
  139. type: boolean
  140. default: false
  141. - variable: dataset_name
  142. label: Dataset Name
  143. description: The name of the dataset to use for storage.
  144. schema:
  145. type: string
  146. required: true
  147. hidden: true
  148. default: "config"
  149. - variable: acl_entries
  150. label: ACL Configuration
  151. schema:
  152. type: dict
  153. show_if: [["acl_enable", "=", true]]
  154. attrs: []
  155. - variable: host_path_config
  156. label: Host Path Configuration
  157. schema:
  158. type: dict
  159. show_if: [["type", "=", "host_path"]]
  160. attrs:
  161. - variable: acl_enable
  162. label: Enable ACL
  163. description: Enable ACL for the storage.
  164. schema:
  165. type: boolean
  166. default: false
  167. - variable: acl
  168. label: ACL Configuration
  169. schema:
  170. type: dict
  171. show_if: [["acl_enable", "=", true]]
  172. attrs: []
  173. $ref:
  174. - "normalize/acl"
  175. - variable: path
  176. label: Host Path
  177. description: The host path to use for storage.
  178. schema:
  179. type: hostpath
  180. show_if: [["acl_enable", "=", false]]
  181. required: true
  182. - variable: additional_storage
  183. label: Additional Storage
  184. schema:
  185. type: list
  186. default: []
  187. items:
  188. - variable: storageEntry
  189. label: Storage Entry
  190. schema:
  191. type: dict
  192. attrs:
  193. - variable: type
  194. label: Type
  195. description: |
  196. ixVolume: Is dataset created automatically by the system.</br>
  197. Host Path: Is a path that already exists on the system.</br>
  198. SMB Share: Is a SMB share that is mounted to as a volume.
  199. schema:
  200. type: string
  201. required: true
  202. default: "ix_volume"
  203. enum:
  204. - value: "host_path"
  205. description: Host Path (Path that already exists on the system)
  206. - value: "ix_volume"
  207. description: ixVolume (Dataset created automatically by the system)
  208. - value: "cifs"
  209. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  210. - variable: read_only
  211. label: Read Only
  212. description: Mount the volume as read only.
  213. schema:
  214. type: boolean
  215. default: false
  216. - variable: mount_path
  217. label: Mount Path
  218. description: The path inside the container to mount the storage.
  219. schema:
  220. type: path
  221. required: true
  222. - variable: host_path_config
  223. label: Host Path Configuration
  224. schema:
  225. type: dict
  226. show_if: [["type", "=", "host_path"]]
  227. attrs:
  228. - variable: acl_enable
  229. label: Enable ACL
  230. description: Enable ACL for the storage.
  231. schema:
  232. type: boolean
  233. default: false
  234. - variable: acl
  235. label: ACL Configuration
  236. schema:
  237. type: dict
  238. show_if: [["acl_enable", "=", true]]
  239. attrs: []
  240. $ref:
  241. - "normalize/acl"
  242. - variable: path
  243. label: Host Path
  244. description: The host path to use for storage.
  245. schema:
  246. type: hostpath
  247. show_if: [["acl_enable", "=", false]]
  248. required: true
  249. - variable: ix_volume_config
  250. label: ixVolume Configuration
  251. description: The configuration for the ixVolume dataset.
  252. schema:
  253. type: dict
  254. show_if: [["type", "=", "ix_volume"]]
  255. $ref:
  256. - "normalize/ix_volume"
  257. attrs:
  258. - variable: acl_enable
  259. label: Enable ACL
  260. description: Enable ACL for the storage.
  261. schema:
  262. type: boolean
  263. default: false
  264. - variable: dataset_name
  265. label: Dataset Name
  266. description: The name of the dataset to use for storage.
  267. schema:
  268. type: string
  269. required: true
  270. default: "storage_entry"
  271. - variable: acl_entries
  272. label: ACL Configuration
  273. schema:
  274. type: dict
  275. show_if: [["acl_enable", "=", true]]
  276. attrs: []
  277. $ref:
  278. - "normalize/acl"
  279. - variable: cifs_config
  280. label: SMB Configuration
  281. description: The configuration for the SMB dataset.
  282. schema:
  283. type: dict
  284. show_if: [["type", "=", "cifs"]]
  285. attrs:
  286. - variable: server
  287. label: Server
  288. description: The server to mount the SMB share.
  289. schema:
  290. type: string
  291. required: true
  292. - variable: path
  293. label: Path
  294. description: The path to mount the SMB share.
  295. schema:
  296. type: string
  297. required: true
  298. - variable: username
  299. label: Username
  300. description: The username to use for the SMB share.
  301. schema:
  302. type: string
  303. required: true
  304. - variable: password
  305. label: Password
  306. description: The password to use for the SMB share.
  307. schema:
  308. type: string
  309. required: true
  310. private: true
  311. - variable: domain
  312. label: Domain
  313. description: The domain to use for the SMB share.
  314. schema:
  315. type: string
  316. - variable: labels
  317. label: ""
  318. group: Labels Configuration
  319. schema:
  320. type: list
  321. default: []
  322. items:
  323. - variable: label
  324. label: Label
  325. schema:
  326. type: dict
  327. attrs:
  328. - variable: key
  329. label: Key
  330. schema:
  331. type: string
  332. required: true
  333. - variable: value
  334. label: Value
  335. schema:
  336. type: string
  337. required: true
  338. - variable: containers
  339. label: Containers
  340. description: Containers where the label should be applied
  341. schema:
  342. type: list
  343. items:
  344. - variable: container
  345. label: Container
  346. schema:
  347. type: string
  348. required: true
  349. enum:
  350. - value: plex-auto-languages
  351. description: plex-auto-languages
  352. - variable: resources
  353. label: ""
  354. group: Resources Configuration
  355. schema:
  356. type: dict
  357. attrs:
  358. - variable: limits
  359. label: Limits
  360. schema:
  361. type: dict
  362. attrs:
  363. - variable: cpus
  364. label: CPUs
  365. description: CPUs limit for Plex Auto Languages.
  366. schema:
  367. type: int
  368. default: 2
  369. required: true
  370. - variable: memory
  371. label: Memory (in MB)
  372. description: Memory limit for Plex Auto Languages.
  373. schema:
  374. type: int
  375. default: 4096
  376. required: true