questions.yaml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552
  1. groups:
  2. - name: Invidious Configuration
  3. description: Configure Invidious
  4. - name: Network Configuration
  5. description: Configure Network for Invidious
  6. - name: Storage Configuration
  7. description: Configure Storage for Invidious
  8. - name: Labels Configuration
  9. description: Configure Labels for Invidious
  10. - name: Resources Configuration
  11. description: Configure Resources for Invidious
  12. questions:
  13. - variable: invidious
  14. label: ""
  15. group: Invidious Configuration
  16. schema:
  17. type: dict
  18. attrs:
  19. - variable: postgres_image_selector
  20. label: Postgres Image (CAUTION)
  21. description: |
  22. If you are changing this after the postgres directory has been initialized,</br>
  23. STOP! and make sure you have a backup of your data.</br>
  24. Changing this will trigger an one way database upgrade.</br>
  25. You can only select newer versions of postgres.</br>
  26. Selecting an older version will refuse to start.</br>
  27. If something goes wrong, you will have to restore from backup.
  28. schema:
  29. type: string
  30. default: postgres_17_image
  31. required: true
  32. enum:
  33. - value: postgres_15_image
  34. description: Postgres 15
  35. - value: postgres_17_image
  36. description: Postgres 17
  37. - variable: db_password
  38. label: Database Password
  39. description: The password for Invidious.
  40. schema:
  41. type: string
  42. default: ""
  43. required: true
  44. private: true
  45. - variable: hmac_secret
  46. label: HMAC Secret
  47. description: The HMAC secret for Invidious.
  48. schema:
  49. type: string
  50. default: ""
  51. required: true
  52. private: true
  53. - variable: enable_inv_sig_helper
  54. label: Enable Inv Sig Helper
  55. description: Enable Invidious Signature Helper.
  56. schema:
  57. type: boolean
  58. default: false
  59. - variable: po_token
  60. label: PO Token
  61. description: |
  62. The PO token for Invidious.</br>
  63. See https://github.com/iv-org/invidious/issues/4734#issuecomment-2290075097
  64. schema:
  65. type: string
  66. default: ""
  67. private: true
  68. - variable: visitor_data
  69. label: Visitor Data
  70. description: |
  71. The visitor data for Invidious.</br>
  72. See https://github.com/iv-org/invidious/issues/4734#issuecomment-2290075097
  73. schema:
  74. type: string
  75. default: ""
  76. private: true
  77. - variable: admins
  78. label: Admins
  79. description: List of usernames that will be granted administrator rights.
  80. schema:
  81. type: list
  82. default: []
  83. items:
  84. - variable: admin
  85. label: Admin
  86. schema:
  87. type: string
  88. required: true
  89. - variable: registration_enabled
  90. label: Registration Enabled
  91. description: Enable registration for Invidious.
  92. schema:
  93. type: boolean
  94. default: true
  95. - variable: login_enabled
  96. label: Login Enabled
  97. description: Enable login for Invidious.
  98. schema:
  99. type: boolean
  100. default: true
  101. - variable: captcha_enabled
  102. label: Captcha Enabled
  103. description: Enable captcha for Invidious.
  104. schema:
  105. type: boolean
  106. default: true
  107. - variable: additional_envs
  108. label: Additional Environment Variables
  109. schema:
  110. type: list
  111. default: []
  112. items:
  113. - variable: env
  114. label: Environment Variable
  115. schema:
  116. type: dict
  117. attrs:
  118. - variable: name
  119. label: Name
  120. schema:
  121. type: string
  122. required: true
  123. - variable: value
  124. label: Value
  125. schema:
  126. type: string
  127. - variable: network
  128. label: ""
  129. group: Network Configuration
  130. schema:
  131. type: dict
  132. attrs:
  133. - variable: web_port
  134. label: WebUI Port
  135. description: The port for Invidious WebUI
  136. schema:
  137. type: dict
  138. attrs:
  139. - variable: bind_mode
  140. label: Port Bind Mode
  141. description: |
  142. The port bind mode.</br>
  143. - Publish: The port will be published on the host for external access.</br>
  144. - Expose: The port will be exposed for inter-container communication.</br>
  145. - None: The port will not be exposed or published.</br>
  146. Note: If the Dockerfile defines an EXPOSE directive,
  147. the port will still be exposed for inter-container communication regardless of this setting.
  148. schema:
  149. type: string
  150. default: "published"
  151. enum:
  152. - value: "published"
  153. description: Publish port on the host for external access
  154. - value: "exposed"
  155. description: Expose port for inter-container communication
  156. - value: ""
  157. description: None
  158. - variable: port_number
  159. label: Port Number
  160. schema:
  161. type: int
  162. default: 31008
  163. min: 1
  164. max: 65535
  165. required: true
  166. - variable: host_ips
  167. label: Host IPs
  168. description: IPs on the host to bind this port
  169. schema:
  170. type: list
  171. show_if: [["bind_mode", "=", "published"]]
  172. default: []
  173. items:
  174. - variable: host_ip
  175. label: Host IP
  176. schema:
  177. type: string
  178. required: true
  179. $ref:
  180. - definitions/node_bind_ip
  181. - variable: storage
  182. label: ""
  183. group: Storage Configuration
  184. schema:
  185. type: dict
  186. attrs:
  187. - variable: config
  188. label: Invidious Config Storage
  189. description: The path to store Invidious Config.
  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.
  198. schema:
  199. type: string
  200. required: true
  201. default: "ix_volume"
  202. enum:
  203. - value: "host_path"
  204. description: Host Path (Path that already exists on the system)
  205. - value: "ix_volume"
  206. description: ixVolume (Dataset created automatically by the system)
  207. - variable: ix_volume_config
  208. label: ixVolume Configuration
  209. description: The configuration for the ixVolume dataset.
  210. schema:
  211. type: dict
  212. show_if: [["type", "=", "ix_volume"]]
  213. $ref:
  214. - "normalize/ix_volume"
  215. attrs:
  216. - variable: acl_enable
  217. label: Enable ACL
  218. description: Enable ACL for the storage.
  219. schema:
  220. type: boolean
  221. default: false
  222. - variable: dataset_name
  223. label: Dataset Name
  224. description: The name of the dataset to use for storage.
  225. schema:
  226. type: string
  227. required: true
  228. hidden: true
  229. default: "config"
  230. - variable: acl_entries
  231. label: ACL Configuration
  232. schema:
  233. type: dict
  234. show_if: [["acl_enable", "=", true]]
  235. attrs: []
  236. - variable: host_path_config
  237. label: Host Path Configuration
  238. schema:
  239. type: dict
  240. show_if: [["type", "=", "host_path"]]
  241. attrs:
  242. - variable: acl_enable
  243. label: Enable ACL
  244. description: Enable ACL for the storage.
  245. schema:
  246. type: boolean
  247. default: false
  248. - variable: acl
  249. label: ACL Configuration
  250. schema:
  251. type: dict
  252. show_if: [["acl_enable", "=", true]]
  253. attrs: []
  254. $ref:
  255. - "normalize/acl"
  256. - variable: path
  257. label: Host Path
  258. description: The host path to use for storage.
  259. schema:
  260. type: hostpath
  261. show_if: [["acl_enable", "=", false]]
  262. required: true
  263. - variable: postgres_data
  264. label: Invidious Postgres Data Storage
  265. description: The path to store Invidious Postgres Data.
  266. schema:
  267. type: dict
  268. attrs:
  269. - variable: type
  270. label: Type
  271. description: |
  272. ixVolume: Is dataset created automatically by the system.</br>
  273. Host Path: Is a path that already exists on the system.
  274. schema:
  275. type: string
  276. required: true
  277. default: "ix_volume"
  278. enum:
  279. - value: "host_path"
  280. description: Host Path (Path that already exists on the system)
  281. - value: "ix_volume"
  282. description: ixVolume (Dataset created automatically by the system)
  283. - variable: ix_volume_config
  284. label: ixVolume Configuration
  285. description: The configuration for the ixVolume dataset.
  286. schema:
  287. type: dict
  288. show_if: [["type", "=", "ix_volume"]]
  289. $ref:
  290. - "normalize/ix_volume"
  291. attrs:
  292. - variable: acl_enable
  293. label: Enable ACL
  294. description: Enable ACL for the storage.
  295. schema:
  296. type: boolean
  297. default: false
  298. - variable: dataset_name
  299. label: Dataset Name
  300. description: The name of the dataset to use for storage.
  301. schema:
  302. type: string
  303. required: true
  304. hidden: true
  305. default: "postgres_data"
  306. - variable: acl_entries
  307. label: ACL Configuration
  308. schema:
  309. type: dict
  310. show_if: [["acl_enable", "=", true]]
  311. attrs: []
  312. - variable: host_path_config
  313. label: Host Path Configuration
  314. schema:
  315. type: dict
  316. show_if: [["type", "=", "host_path"]]
  317. attrs:
  318. - variable: acl_enable
  319. label: Enable ACL
  320. description: Enable ACL for the storage.
  321. schema:
  322. type: boolean
  323. default: false
  324. - variable: acl
  325. label: ACL Configuration
  326. schema:
  327. type: dict
  328. show_if: [["acl_enable", "=", true]]
  329. attrs: []
  330. $ref:
  331. - "normalize/acl"
  332. - variable: path
  333. label: Host Path
  334. description: The host path to use for storage.
  335. schema:
  336. type: hostpath
  337. show_if: [["acl_enable", "=", false]]
  338. required: true
  339. - variable: auto_permissions
  340. label: Automatic Permissions
  341. description: |
  342. Automatically set permissions for the host path.
  343. Enabling this, will check the top level directory,</br>
  344. If it finds incorrect permissions, it will `chown` the
  345. host path to the user and group required for the
  346. postgres container.
  347. schema:
  348. type: boolean
  349. default: false
  350. show_if: [["acl_enable", "=", false]]
  351. - variable: additional_storage
  352. label: Additional Storage
  353. schema:
  354. type: list
  355. default: []
  356. items:
  357. - variable: storageEntry
  358. label: Storage Entry
  359. schema:
  360. type: dict
  361. attrs:
  362. - variable: type
  363. label: Type
  364. description: |
  365. ixVolume: Is dataset created automatically by the system.</br>
  366. Host Path: Is a path that already exists on the system.</br>
  367. SMB Share: Is a SMB share that is mounted to as a volume.
  368. schema:
  369. type: string
  370. required: true
  371. default: "ix_volume"
  372. enum:
  373. - value: "host_path"
  374. description: Host Path (Path that already exists on the system)
  375. - value: "ix_volume"
  376. description: ixVolume (Dataset created automatically by the system)
  377. - value: "cifs"
  378. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  379. - variable: read_only
  380. label: Read Only
  381. description: Mount the volume as read only.
  382. schema:
  383. type: boolean
  384. default: false
  385. - variable: mount_path
  386. label: Mount Path
  387. description: The path inside the container to mount the storage.
  388. schema:
  389. type: path
  390. required: true
  391. - variable: host_path_config
  392. label: Host Path Configuration
  393. schema:
  394. type: dict
  395. show_if: [["type", "=", "host_path"]]
  396. attrs:
  397. - variable: acl_enable
  398. label: Enable ACL
  399. description: Enable ACL for the storage.
  400. schema:
  401. type: boolean
  402. default: false
  403. - variable: acl
  404. label: ACL Configuration
  405. schema:
  406. type: dict
  407. show_if: [["acl_enable", "=", true]]
  408. attrs: []
  409. $ref:
  410. - "normalize/acl"
  411. - variable: path
  412. label: Host Path
  413. description: The host path to use for storage.
  414. schema:
  415. type: hostpath
  416. show_if: [["acl_enable", "=", false]]
  417. required: true
  418. - variable: ix_volume_config
  419. label: ixVolume Configuration
  420. description: The configuration for the ixVolume dataset.
  421. schema:
  422. type: dict
  423. show_if: [["type", "=", "ix_volume"]]
  424. $ref:
  425. - "normalize/ix_volume"
  426. attrs:
  427. - variable: acl_enable
  428. label: Enable ACL
  429. description: Enable ACL for the storage.
  430. schema:
  431. type: boolean
  432. default: false
  433. - variable: dataset_name
  434. label: Dataset Name
  435. description: The name of the dataset to use for storage.
  436. schema:
  437. type: string
  438. required: true
  439. default: "storage_entry"
  440. - variable: acl_entries
  441. label: ACL Configuration
  442. schema:
  443. type: dict
  444. show_if: [["acl_enable", "=", true]]
  445. attrs: []
  446. $ref:
  447. - "normalize/acl"
  448. - variable: cifs_config
  449. label: SMB Configuration
  450. description: The configuration for the SMB dataset.
  451. schema:
  452. type: dict
  453. show_if: [["type", "=", "cifs"]]
  454. attrs:
  455. - variable: server
  456. label: Server
  457. description: The server to mount the SMB share.
  458. schema:
  459. type: string
  460. required: true
  461. - variable: path
  462. label: Path
  463. description: The path to mount the SMB share.
  464. schema:
  465. type: string
  466. required: true
  467. - variable: username
  468. label: Username
  469. description: The username to use for the SMB share.
  470. schema:
  471. type: string
  472. required: true
  473. - variable: password
  474. label: Password
  475. description: The password to use for the SMB share.
  476. schema:
  477. type: string
  478. required: true
  479. private: true
  480. - variable: domain
  481. label: Domain
  482. description: The domain to use for the SMB share.
  483. schema:
  484. type: string
  485. - variable: labels
  486. label: ""
  487. group: Labels Configuration
  488. schema:
  489. type: list
  490. default: []
  491. items:
  492. - variable: label
  493. label: Label
  494. schema:
  495. type: dict
  496. attrs:
  497. - variable: key
  498. label: Key
  499. schema:
  500. type: string
  501. required: true
  502. - variable: value
  503. label: Value
  504. schema:
  505. type: string
  506. required: true
  507. - variable: containers
  508. label: Containers
  509. description: Containers where the label should be applied
  510. schema:
  511. type: list
  512. items:
  513. - variable: container
  514. label: Container
  515. schema:
  516. type: string
  517. required: true
  518. enum:
  519. - value: invidious
  520. description: invidious
  521. - value: signature-helper
  522. description: signature-helper
  523. - value: postgres
  524. description: postgres
  525. - variable: resources
  526. label: ""
  527. group: Resources Configuration
  528. schema:
  529. type: dict
  530. attrs:
  531. - variable: limits
  532. label: Limits
  533. schema:
  534. type: dict
  535. attrs:
  536. - variable: cpus
  537. label: CPUs
  538. description: CPUs limit for Invidious.
  539. schema:
  540. type: int
  541. default: 2
  542. required: true
  543. - variable: memory
  544. label: Memory (in MB)
  545. description: Memory limit for Invidious.
  546. schema:
  547. type: int
  548. default: 4096
  549. required: true