questions.yaml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  1. groups:
  2. - name: Tube Archivist Configuration
  3. description: Configure Tube Archivist
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Tube Archivist
  6. - name: Network Configuration
  7. description: Configure Network for Tube Archivist
  8. - name: Storage Configuration
  9. description: Configure Storage for Tube Archivist
  10. - name: Labels Configuration
  11. description: Configure Labels for Tube Archivist
  12. - name: Resources Configuration
  13. description: Configure Resources for Tube Archivist
  14. questions:
  15. - variable: TZ
  16. group: Tube Archivist Configuration
  17. label: Timezone
  18. schema:
  19. type: string
  20. default: Etc/UTC
  21. required: true
  22. $ref:
  23. - definitions/timezone
  24. - variable: tube
  25. label: ""
  26. group: Tube Archivist Configuration
  27. schema:
  28. type: dict
  29. attrs:
  30. - variable: elastic_password
  31. label: Elastic Password
  32. schema:
  33. type: string
  34. default: ""
  35. private: true
  36. required: true
  37. - variable: redis_password
  38. label: Redis Password
  39. schema:
  40. type: string
  41. default: ""
  42. private: true
  43. required: true
  44. - variable: app_urls
  45. label: App URLs
  46. description: |
  47. The base URLs for Tube Archivist.</br>
  48. Examples:</br>
  49. https://tube.example.com </br>
  50. http://192.168.1.100:30247
  51. schema:
  52. type: list
  53. default: []
  54. items:
  55. - variable: url
  56. label: URL
  57. schema:
  58. type: uri
  59. required: true
  60. default: ""
  61. - variable: username
  62. label: Initial Username
  63. schema:
  64. type: string
  65. default: ""
  66. required: true
  67. - variable: password
  68. label: Initial Password
  69. schema:
  70. type: string
  71. default: ""
  72. private: true
  73. required: true
  74. - variable: additional_envs
  75. label: Additional Environment Variables
  76. schema:
  77. type: list
  78. default: []
  79. items:
  80. - variable: env
  81. label: Environment Variable
  82. schema:
  83. type: dict
  84. attrs:
  85. - variable: name
  86. label: Name
  87. schema:
  88. type: string
  89. required: true
  90. - variable: value
  91. label: Value
  92. schema:
  93. type: string
  94. - variable: run_as
  95. label: ""
  96. group: User and Group Configuration
  97. schema:
  98. type: dict
  99. attrs:
  100. - variable: user
  101. label: User ID
  102. description: The user id that Tube Archivist files will be owned by.
  103. schema:
  104. type: int
  105. min: 568
  106. default: 568
  107. required: true
  108. - variable: group
  109. label: Group ID
  110. description: The group id that Tube Archivist files will be owned by.
  111. schema:
  112. type: int
  113. min: 568
  114. default: 568
  115. required: true
  116. - variable: network
  117. label: ""
  118. group: Network Configuration
  119. schema:
  120. type: dict
  121. attrs:
  122. - variable: web_port
  123. label: WebUI Port
  124. schema:
  125. type: dict
  126. attrs:
  127. - variable: bind_mode
  128. label: Port Bind Mode
  129. description: |
  130. The port bind mode.</br>
  131. - Publish: The port will be published on the host for external access.</br>
  132. - Expose: The port will be exposed for inter-container communication.</br>
  133. - None: The port will not be exposed or published.</br>
  134. Note: If the Dockerfile defines an EXPOSE directive,
  135. the port will still be exposed for inter-container communication regardless of this setting.
  136. schema:
  137. type: string
  138. default: "published"
  139. enum:
  140. - value: "published"
  141. description: Publish port on the host for external access
  142. - value: "exposed"
  143. description: Expose port for inter-container communication
  144. - value: ""
  145. description: None
  146. - variable: port_number
  147. label: Port Number
  148. schema:
  149. type: int
  150. default: 30247
  151. min: 1
  152. max: 65535
  153. required: true
  154. - variable: host_ips
  155. label: Host IPs
  156. description: IPs on the host to bind this port
  157. schema:
  158. type: list
  159. show_if: [["bind_mode", "=", "published"]]
  160. default: []
  161. items:
  162. - variable: host_ip
  163. label: Host IP
  164. schema:
  165. type: string
  166. required: true
  167. $ref:
  168. - definitions/node_bind_ip
  169. - variable: host_network
  170. label: Host Network
  171. description: |
  172. Bind to the host network. It's recommended to keep this disabled.
  173. schema:
  174. type: boolean
  175. default: false
  176. - variable: storage
  177. label: ""
  178. group: Storage Configuration
  179. schema:
  180. type: dict
  181. attrs:
  182. - variable: youtube
  183. label: YouTube Storage
  184. schema:
  185. type: dict
  186. attrs:
  187. - variable: type
  188. label: Type
  189. description: |
  190. ixVolume: Is dataset created automatically by the system.</br>
  191. Host Path: Is a path that already exists on the system.
  192. schema:
  193. type: string
  194. required: true
  195. default: "ix_volume"
  196. enum:
  197. - value: "host_path"
  198. description: Host Path (Path that already exists on the system)
  199. - value: "ix_volume"
  200. description: ixVolume (Dataset created automatically by the system)
  201. - variable: ix_volume_config
  202. label: ixVolume Configuration
  203. description: The configuration for the ixVolume dataset.
  204. schema:
  205. type: dict
  206. show_if: [["type", "=", "ix_volume"]]
  207. $ref:
  208. - "normalize/ix_volume"
  209. attrs:
  210. - variable: acl_enable
  211. label: Enable ACL
  212. description: Enable ACL for the storage.
  213. schema:
  214. type: boolean
  215. default: false
  216. - variable: dataset_name
  217. label: Dataset Name
  218. description: The name of the dataset to use for storage.
  219. schema:
  220. type: string
  221. required: true
  222. hidden: true
  223. default: "youtube"
  224. - variable: acl_entries
  225. label: ACL Configuration
  226. schema:
  227. type: dict
  228. show_if: [["acl_enable", "=", true]]
  229. attrs: []
  230. - variable: host_path_config
  231. label: Host Path Configuration
  232. schema:
  233. type: dict
  234. show_if: [["type", "=", "host_path"]]
  235. attrs:
  236. - variable: acl_enable
  237. label: Enable ACL
  238. description: Enable ACL for the storage.
  239. schema:
  240. type: boolean
  241. default: false
  242. - variable: acl
  243. label: ACL Configuration
  244. schema:
  245. type: dict
  246. show_if: [["acl_enable", "=", true]]
  247. attrs: []
  248. $ref:
  249. - "normalize/acl"
  250. - variable: path
  251. label: Host Path
  252. description: The host path to use for storage.
  253. schema:
  254. type: hostpath
  255. show_if: [["acl_enable", "=", false]]
  256. required: true
  257. - variable: cache
  258. label: Cache Storage
  259. schema:
  260. type: dict
  261. attrs:
  262. - variable: type
  263. label: Type
  264. description: |
  265. ixVolume: Is dataset created automatically by the system.</br>
  266. Host Path: Is a path that already exists on the system.
  267. schema:
  268. type: string
  269. required: true
  270. default: "ix_volume"
  271. enum:
  272. - value: "host_path"
  273. description: Host Path (Path that already exists on the system)
  274. - value: "ix_volume"
  275. description: ixVolume (Dataset created automatically by the system)
  276. - variable: ix_volume_config
  277. label: ixVolume Configuration
  278. description: The configuration for the ixVolume dataset.
  279. schema:
  280. type: dict
  281. show_if: [["type", "=", "ix_volume"]]
  282. $ref:
  283. - "normalize/ix_volume"
  284. attrs:
  285. - variable: acl_enable
  286. label: Enable ACL
  287. description: Enable ACL for the storage.
  288. schema:
  289. type: boolean
  290. default: false
  291. - variable: dataset_name
  292. label: Dataset Name
  293. description: The name of the dataset to use for storage.
  294. schema:
  295. type: string
  296. required: true
  297. hidden: true
  298. default: "cache"
  299. - variable: acl_entries
  300. label: ACL Configuration
  301. schema:
  302. type: dict
  303. show_if: [["acl_enable", "=", true]]
  304. attrs: []
  305. - variable: host_path_config
  306. label: Host Path Configuration
  307. schema:
  308. type: dict
  309. show_if: [["type", "=", "host_path"]]
  310. attrs:
  311. - variable: acl_enable
  312. label: Enable ACL
  313. description: Enable ACL for the storage.
  314. schema:
  315. type: boolean
  316. default: false
  317. - variable: acl
  318. label: ACL Configuration
  319. schema:
  320. type: dict
  321. show_if: [["acl_enable", "=", true]]
  322. attrs: []
  323. $ref:
  324. - "normalize/acl"
  325. - variable: path
  326. label: Host Path
  327. description: The host path to use for storage.
  328. schema:
  329. type: hostpath
  330. show_if: [["acl_enable", "=", false]]
  331. required: true
  332. - variable: es_data
  333. label: Elastic Search Data Storage
  334. schema:
  335. type: dict
  336. attrs:
  337. - variable: type
  338. label: Type
  339. description: |
  340. ixVolume: Is dataset created automatically by the system.</br>
  341. Host Path: Is a path that already exists on the system.
  342. schema:
  343. type: string
  344. required: true
  345. default: "ix_volume"
  346. enum:
  347. - value: "host_path"
  348. description: Host Path (Path that already exists on the system)
  349. - value: "ix_volume"
  350. description: ixVolume (Dataset created automatically by the system)
  351. - variable: ix_volume_config
  352. label: ixVolume Configuration
  353. description: The configuration for the ixVolume dataset.
  354. schema:
  355. type: dict
  356. show_if: [["type", "=", "ix_volume"]]
  357. $ref:
  358. - "normalize/ix_volume"
  359. attrs:
  360. - variable: acl_enable
  361. label: Enable ACL
  362. description: Enable ACL for the storage.
  363. schema:
  364. type: boolean
  365. default: false
  366. - variable: dataset_name
  367. label: Dataset Name
  368. description: The name of the dataset to use for storage.
  369. schema:
  370. type: string
  371. required: true
  372. hidden: true
  373. default: "es_data"
  374. - variable: acl_entries
  375. label: ACL Configuration
  376. schema:
  377. type: dict
  378. show_if: [["acl_enable", "=", true]]
  379. attrs: []
  380. - variable: host_path_config
  381. label: Host Path Configuration
  382. schema:
  383. type: dict
  384. show_if: [["type", "=", "host_path"]]
  385. attrs:
  386. - variable: acl_enable
  387. label: Enable ACL
  388. description: Enable ACL for the storage.
  389. schema:
  390. type: boolean
  391. default: false
  392. - variable: acl
  393. label: ACL Configuration
  394. schema:
  395. type: dict
  396. show_if: [["acl_enable", "=", true]]
  397. attrs: []
  398. $ref:
  399. - "normalize/acl"
  400. - variable: path
  401. label: Host Path
  402. description: The host path to use for storage.
  403. schema:
  404. type: hostpath
  405. show_if: [["acl_enable", "=", false]]
  406. required: true
  407. - variable: additional_storage
  408. label: Additional Storage
  409. schema:
  410. type: list
  411. default: []
  412. items:
  413. - variable: storageEntry
  414. label: Storage Entry
  415. schema:
  416. type: dict
  417. attrs:
  418. - variable: type
  419. label: Type
  420. description: |
  421. ixVolume: Is dataset created automatically by the system.</br>
  422. Host Path: Is a path that already exists on the system.</br>
  423. SMB Share: Is a SMB share that is mounted to as a volume.
  424. schema:
  425. type: string
  426. required: true
  427. default: "ix_volume"
  428. enum:
  429. - value: "host_path"
  430. description: Host Path (Path that already exists on the system)
  431. - value: "ix_volume"
  432. description: ixVolume (Dataset created automatically by the system)
  433. - value: "cifs"
  434. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  435. - variable: read_only
  436. label: Read Only
  437. description: Mount the volume as read only.
  438. schema:
  439. type: boolean
  440. default: false
  441. - variable: mount_path
  442. label: Mount Path
  443. description: The path inside the container to mount the storage.
  444. schema:
  445. type: path
  446. required: true
  447. - variable: host_path_config
  448. label: Host Path Configuration
  449. schema:
  450. type: dict
  451. show_if: [["type", "=", "host_path"]]
  452. attrs:
  453. - variable: acl_enable
  454. label: Enable ACL
  455. description: Enable ACL for the storage.
  456. schema:
  457. type: boolean
  458. default: false
  459. - variable: acl
  460. label: ACL Configuration
  461. schema:
  462. type: dict
  463. show_if: [["acl_enable", "=", true]]
  464. attrs: []
  465. $ref:
  466. - "normalize/acl"
  467. - variable: path
  468. label: Host Path
  469. description: The host path to use for storage.
  470. schema:
  471. type: hostpath
  472. show_if: [["acl_enable", "=", false]]
  473. required: true
  474. - variable: ix_volume_config
  475. label: ixVolume Configuration
  476. description: The configuration for the ixVolume dataset.
  477. schema:
  478. type: dict
  479. show_if: [["type", "=", "ix_volume"]]
  480. $ref:
  481. - "normalize/ix_volume"
  482. attrs:
  483. - variable: acl_enable
  484. label: Enable ACL
  485. description: Enable ACL for the storage.
  486. schema:
  487. type: boolean
  488. default: false
  489. - variable: dataset_name
  490. label: Dataset Name
  491. description: The name of the dataset to use for storage.
  492. schema:
  493. type: string
  494. required: true
  495. default: "storage_entry"
  496. - variable: acl_entries
  497. label: ACL Configuration
  498. schema:
  499. type: dict
  500. show_if: [["acl_enable", "=", true]]
  501. attrs: []
  502. $ref:
  503. - "normalize/acl"
  504. - variable: cifs_config
  505. label: SMB Configuration
  506. description: The configuration for the SMB dataset.
  507. schema:
  508. type: dict
  509. show_if: [["type", "=", "cifs"]]
  510. attrs:
  511. - variable: server
  512. label: Server
  513. description: The server to mount the SMB share.
  514. schema:
  515. type: string
  516. required: true
  517. - variable: path
  518. label: Path
  519. description: The path to mount the SMB share.
  520. schema:
  521. type: string
  522. required: true
  523. - variable: username
  524. label: Username
  525. description: The username to use for the SMB share.
  526. schema:
  527. type: string
  528. required: true
  529. - variable: password
  530. label: Password
  531. description: The password to use for the SMB share.
  532. schema:
  533. type: string
  534. required: true
  535. private: true
  536. - variable: domain
  537. label: Domain
  538. description: The domain to use for the SMB share.
  539. schema:
  540. type: string
  541. - variable: labels
  542. label: ""
  543. group: Labels Configuration
  544. schema:
  545. type: list
  546. default: []
  547. items:
  548. - variable: label
  549. label: Label
  550. schema:
  551. type: dict
  552. attrs:
  553. - variable: key
  554. label: Key
  555. schema:
  556. type: string
  557. required: true
  558. - variable: value
  559. label: Value
  560. schema:
  561. type: string
  562. required: true
  563. - variable: containers
  564. label: Containers
  565. description: Containers where the label should be applied
  566. schema:
  567. type: list
  568. items:
  569. - variable: container
  570. label: Container
  571. schema:
  572. type: string
  573. required: true
  574. enum:
  575. - value: tubearchivist
  576. description: tubearchivist
  577. - value: redis
  578. description: redis
  579. - value: elastic-search
  580. description: elastic-search
  581. - variable: resources
  582. label: ""
  583. group: Resources Configuration
  584. schema:
  585. type: dict
  586. attrs:
  587. - variable: limits
  588. label: Limits
  589. schema:
  590. type: dict
  591. attrs:
  592. - variable: cpus
  593. label: CPUs
  594. description: CPUs limit for Tube Archivist.
  595. schema:
  596. type: int
  597. default: 2
  598. required: true
  599. - variable: memory
  600. label: Memory (in MB)
  601. description: Memory limit for Tube Archivist.
  602. schema:
  603. type: int
  604. default: 4096
  605. required: true