questions.yaml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690
  1. groups:
  2. - name: Zipline Configuration
  3. description: Configure Zipline
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Zipline
  6. - name: Network Configuration
  7. description: Configure Network for Zipline
  8. - name: Storage Configuration
  9. description: Configure Storage for Zipline
  10. - name: Labels Configuration
  11. description: Configure Labels for Zipline
  12. - name: Resources Configuration
  13. description: Configure Resources for Zipline
  14. questions:
  15. - variable: TZ
  16. group: Zipline Configuration
  17. label: Timezone
  18. schema:
  19. type: string
  20. default: Etc/UTC
  21. required: true
  22. $ref:
  23. - definitions/timezone
  24. - variable: zipline
  25. label: ""
  26. group: Zipline Configuration
  27. schema:
  28. type: dict
  29. attrs:
  30. - variable: postgres_image_selector
  31. label: Postgres Image (CAUTION)
  32. description: |
  33. If you are changing this after the postgres directory has been initialized,</br>
  34. STOP! and make sure you have a backup of your data.</br>
  35. Changing this will trigger an one way database upgrade.</br>
  36. You can only select newer versions of postgres.</br>
  37. Selecting an older version will refuse to start.</br>
  38. If something goes wrong, you will have to restore from backup.
  39. schema:
  40. type: string
  41. default: postgres_17_image
  42. required: true
  43. enum:
  44. - value: postgres_17_image
  45. description: Postgres 17
  46. - variable: db_password
  47. label: Database Password
  48. description: The password for Authelia.
  49. schema:
  50. type: string
  51. default: ""
  52. required: true
  53. private: true
  54. - variable: core_secret
  55. label: Core secret
  56. description: A secret that is 32 characters long.
  57. schema:
  58. type: string
  59. min_length: 32
  60. max_length: 32
  61. default: ""
  62. private: true
  63. required: true
  64. - variable: additional_envs
  65. label: Additional Environment Variables
  66. schema:
  67. type: list
  68. default: []
  69. items:
  70. - variable: env
  71. label: Environment Variable
  72. schema:
  73. type: dict
  74. attrs:
  75. - variable: name
  76. label: Name
  77. schema:
  78. type: string
  79. required: true
  80. - variable: value
  81. label: Value
  82. schema:
  83. type: string
  84. - variable: run_as
  85. label: ""
  86. group: User and Group Configuration
  87. schema:
  88. type: dict
  89. attrs:
  90. - variable: user
  91. label: User ID
  92. description: The user id that Zipline files will be owned by.
  93. schema:
  94. type: int
  95. min: 568
  96. default: 568
  97. required: true
  98. - variable: group
  99. label: Group ID
  100. description: The group id that Zipline files will be owned by.
  101. schema:
  102. type: int
  103. min: 568
  104. default: 568
  105. required: true
  106. - variable: network
  107. label: ""
  108. group: Network Configuration
  109. schema:
  110. type: dict
  111. attrs:
  112. - variable: web_port
  113. label: WebUI Port
  114. schema:
  115. type: dict
  116. attrs:
  117. - variable: bind_mode
  118. label: Port Bind Mode
  119. description: |
  120. The port bind mode.</br>
  121. - Publish: The port will be published on the host for external access.</br>
  122. - Expose: The port will be exposed for inter-container communication.</br>
  123. - None: The port will not be exposed or published.</br>
  124. Note: If the Dockerfile defines an EXPOSE directive,
  125. the port will still be exposed for inter-container communication regardless of this setting.
  126. schema:
  127. type: string
  128. default: "published"
  129. enum:
  130. - value: "published"
  131. description: Publish port on the host for external access
  132. - value: "exposed"
  133. description: Expose port for inter-container communication
  134. - value: ""
  135. description: None
  136. - variable: port_number
  137. label: Port Number
  138. schema:
  139. type: int
  140. default: 30164
  141. min: 1
  142. max: 65535
  143. required: true
  144. - variable: host_ips
  145. label: Host IPs
  146. description: IPs on the host to bind this port
  147. schema:
  148. type: list
  149. show_if: [["bind_mode", "=", "published"]]
  150. default: []
  151. items:
  152. - variable: host_ip
  153. label: Host IP
  154. schema:
  155. type: string
  156. required: true
  157. $ref:
  158. - definitions/node_bind_ip
  159. - variable: certificate_id
  160. label: Certificate
  161. description: The certificate to use for Zipline.
  162. schema:
  163. type: int
  164. "null": true
  165. $ref:
  166. - "definitions/certificate"
  167. - variable: storage
  168. label: ""
  169. group: Storage Configuration
  170. schema:
  171. type: dict
  172. attrs:
  173. - variable: uploads
  174. label: Uploads Storage
  175. description: The folder where all the user uploads are stored.
  176. schema:
  177. type: dict
  178. attrs:
  179. - variable: type
  180. label: Type
  181. description: |
  182. ixVolume: Is dataset created automatically by the system.</br>
  183. Host Path: Is a path that already exists on the system.
  184. schema:
  185. type: string
  186. required: true
  187. default: "ix_volume"
  188. enum:
  189. - value: "host_path"
  190. description: Host Path (Path that already exists on the system)
  191. - value: "ix_volume"
  192. description: ixVolume (Dataset created automatically by the system)
  193. - variable: ix_volume_config
  194. label: ixVolume Configuration
  195. description: The configuration for the ixVolume dataset.
  196. schema:
  197. type: dict
  198. show_if: [["type", "=", "ix_volume"]]
  199. $ref:
  200. - "normalize/ix_volume"
  201. attrs:
  202. - variable: acl_enable
  203. label: Enable ACL
  204. description: Enable ACL for the storage.
  205. schema:
  206. type: boolean
  207. default: false
  208. - variable: dataset_name
  209. label: Dataset Name
  210. description: The name of the dataset to use for storage.
  211. schema:
  212. type: string
  213. required: true
  214. hidden: true
  215. default: "uploads"
  216. - variable: acl_entries
  217. label: ACL Configuration
  218. schema:
  219. type: dict
  220. show_if: [["acl_enable", "=", true]]
  221. attrs: []
  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: public
  250. label: Public Storage
  251. description: The folder where all the public assets are stored.
  252. schema:
  253. type: dict
  254. attrs:
  255. - variable: type
  256. label: Type
  257. description: |
  258. ixVolume: Is dataset created automatically by the system.</br>
  259. Host Path: Is a path that already exists on the system.
  260. schema:
  261. type: string
  262. required: true
  263. default: "ix_volume"
  264. enum:
  265. - value: "host_path"
  266. description: Host Path (Path that already exists on the system)
  267. - value: "ix_volume"
  268. description: ixVolume (Dataset created automatically by the system)
  269. - variable: ix_volume_config
  270. label: ixVolume Configuration
  271. description: The configuration for the ixVolume dataset.
  272. schema:
  273. type: dict
  274. show_if: [["type", "=", "ix_volume"]]
  275. $ref:
  276. - "normalize/ix_volume"
  277. attrs:
  278. - variable: acl_enable
  279. label: Enable ACL
  280. description: Enable ACL for the storage.
  281. schema:
  282. type: boolean
  283. default: false
  284. - variable: dataset_name
  285. label: Dataset Name
  286. description: The name of the dataset to use for storage.
  287. schema:
  288. type: string
  289. required: true
  290. hidden: true
  291. default: "public"
  292. - variable: acl_entries
  293. label: ACL Configuration
  294. schema:
  295. type: dict
  296. show_if: [["acl_enable", "=", true]]
  297. attrs: []
  298. - variable: host_path_config
  299. label: Host Path Configuration
  300. schema:
  301. type: dict
  302. show_if: [["type", "=", "host_path"]]
  303. attrs:
  304. - variable: acl_enable
  305. label: Enable ACL
  306. description: Enable ACL for the storage.
  307. schema:
  308. type: boolean
  309. default: false
  310. - variable: acl
  311. label: ACL Configuration
  312. schema:
  313. type: dict
  314. show_if: [["acl_enable", "=", true]]
  315. attrs: []
  316. $ref:
  317. - "normalize/acl"
  318. - variable: path
  319. label: Host Path
  320. description: The host path to use for storage.
  321. schema:
  322. type: hostpath
  323. show_if: [["acl_enable", "=", false]]
  324. required: true
  325. - variable: themes
  326. label: Themes Storage
  327. description: The folder where all the custom themes are stored.
  328. schema:
  329. type: dict
  330. attrs:
  331. - variable: type
  332. label: Type
  333. description: |
  334. ixVolume: Is dataset created automatically by the system.</br>
  335. Host Path: Is a path that already exists on the system.
  336. schema:
  337. type: string
  338. required: true
  339. default: "ix_volume"
  340. enum:
  341. - value: "host_path"
  342. description: Host Path (Path that already exists on the system)
  343. - value: "ix_volume"
  344. description: ixVolume (Dataset created automatically by the system)
  345. - variable: ix_volume_config
  346. label: ixVolume Configuration
  347. description: The configuration for the ixVolume dataset.
  348. schema:
  349. type: dict
  350. show_if: [["type", "=", "ix_volume"]]
  351. $ref:
  352. - "normalize/ix_volume"
  353. attrs:
  354. - variable: acl_enable
  355. label: Enable ACL
  356. description: Enable ACL for the storage.
  357. schema:
  358. type: boolean
  359. default: false
  360. - variable: dataset_name
  361. label: Dataset Name
  362. description: The name of the dataset to use for storage.
  363. schema:
  364. type: string
  365. required: true
  366. hidden: true
  367. default: "themes"
  368. - variable: acl_entries
  369. label: ACL Configuration
  370. schema:
  371. type: dict
  372. show_if: [["acl_enable", "=", true]]
  373. attrs: []
  374. - variable: host_path_config
  375. label: Host Path Configuration
  376. schema:
  377. type: dict
  378. show_if: [["type", "=", "host_path"]]
  379. attrs:
  380. - variable: acl_enable
  381. label: Enable ACL
  382. description: Enable ACL for the storage.
  383. schema:
  384. type: boolean
  385. default: false
  386. - variable: acl
  387. label: ACL Configuration
  388. schema:
  389. type: dict
  390. show_if: [["acl_enable", "=", true]]
  391. attrs: []
  392. $ref:
  393. - "normalize/acl"
  394. - variable: path
  395. label: Host Path
  396. description: The host path to use for storage.
  397. schema:
  398. type: hostpath
  399. show_if: [["acl_enable", "=", false]]
  400. required: true
  401. - variable: postgres_data
  402. label: Postgres Data Storage
  403. description: The path to store Postgres Data.
  404. schema:
  405. type: dict
  406. attrs:
  407. - variable: type
  408. label: Type
  409. description: |
  410. ixVolume: Is dataset created automatically by the system.</br>
  411. Host Path: Is a path that already exists on the system.
  412. schema:
  413. type: string
  414. required: true
  415. default: "ix_volume"
  416. enum:
  417. - value: "host_path"
  418. description: Host Path (Path that already exists on the system)
  419. - value: "ix_volume"
  420. description: ixVolume (Dataset created automatically by the system)
  421. - variable: ix_volume_config
  422. label: ixVolume Configuration
  423. description: The configuration for the ixVolume dataset.
  424. schema:
  425. type: dict
  426. show_if: [["type", "=", "ix_volume"]]
  427. $ref:
  428. - "normalize/ix_volume"
  429. attrs:
  430. - variable: acl_enable
  431. label: Enable ACL
  432. description: Enable ACL for the storage.
  433. schema:
  434. type: boolean
  435. default: false
  436. - variable: dataset_name
  437. label: Dataset Name
  438. description: The name of the dataset to use for storage.
  439. schema:
  440. type: string
  441. required: true
  442. hidden: true
  443. default: "pg_data"
  444. - variable: acl_entries
  445. label: ACL Configuration
  446. schema:
  447. type: dict
  448. show_if: [["acl_enable", "=", true]]
  449. attrs: []
  450. - variable: host_path_config
  451. label: Host Path Configuration
  452. schema:
  453. type: dict
  454. show_if: [["type", "=", "host_path"]]
  455. attrs:
  456. - variable: acl_enable
  457. label: Enable ACL
  458. description: Enable ACL for the storage.
  459. schema:
  460. type: boolean
  461. default: false
  462. - variable: acl
  463. label: ACL Configuration
  464. schema:
  465. type: dict
  466. show_if: [["acl_enable", "=", true]]
  467. attrs: []
  468. $ref:
  469. - "normalize/acl"
  470. - variable: path
  471. label: Host Path
  472. description: The host path to use for storage.
  473. schema:
  474. type: hostpath
  475. show_if: [["acl_enable", "=", false]]
  476. required: true
  477. - variable: auto_permissions
  478. label: Automatic Permissions
  479. description: |
  480. Automatically set permissions for the host path.
  481. Enabling this, will check the top level directory,</br>
  482. If it finds incorrect permissions, it will `chown` the
  483. host path to the user and group required for the
  484. postgres container.
  485. schema:
  486. type: boolean
  487. default: false
  488. show_if: [["acl_enable", "=", false]]
  489. - variable: additional_storage
  490. label: Additional Storage
  491. schema:
  492. type: list
  493. default: []
  494. items:
  495. - variable: storageEntry
  496. label: Storage Entry
  497. schema:
  498. type: dict
  499. attrs:
  500. - variable: type
  501. label: Type
  502. description: |
  503. ixVolume: Is dataset created automatically by the system.</br>
  504. Host Path: Is a path that already exists on the system.</br>
  505. SMB Share: Is a SMB share that is mounted to as a volume.
  506. schema:
  507. type: string
  508. required: true
  509. default: "ix_volume"
  510. enum:
  511. - value: "host_path"
  512. description: Host Path (Path that already exists on the system)
  513. - value: "ix_volume"
  514. description: ixVolume (Dataset created automatically by the system)
  515. - value: "cifs"
  516. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  517. - variable: read_only
  518. label: Read Only
  519. description: Mount the volume as read only.
  520. schema:
  521. type: boolean
  522. default: false
  523. - variable: mount_path
  524. label: Mount Path
  525. description: The path inside the container to mount the storage.
  526. schema:
  527. type: path
  528. required: true
  529. - variable: host_path_config
  530. label: Host Path Configuration
  531. schema:
  532. type: dict
  533. show_if: [["type", "=", "host_path"]]
  534. attrs:
  535. - variable: acl_enable
  536. label: Enable ACL
  537. description: Enable ACL for the storage.
  538. schema:
  539. type: boolean
  540. default: false
  541. - variable: acl
  542. label: ACL Configuration
  543. schema:
  544. type: dict
  545. show_if: [["acl_enable", "=", true]]
  546. attrs: []
  547. $ref:
  548. - "normalize/acl"
  549. - variable: path
  550. label: Host Path
  551. description: The host path to use for storage.
  552. schema:
  553. type: hostpath
  554. show_if: [["acl_enable", "=", false]]
  555. required: true
  556. - variable: ix_volume_config
  557. label: ixVolume Configuration
  558. description: The configuration for the ixVolume dataset.
  559. schema:
  560. type: dict
  561. show_if: [["type", "=", "ix_volume"]]
  562. $ref:
  563. - "normalize/ix_volume"
  564. attrs:
  565. - variable: acl_enable
  566. label: Enable ACL
  567. description: Enable ACL for the storage.
  568. schema:
  569. type: boolean
  570. default: false
  571. - variable: dataset_name
  572. label: Dataset Name
  573. description: The name of the dataset to use for storage.
  574. schema:
  575. type: string
  576. required: true
  577. default: "storage_entry"
  578. - variable: acl_entries
  579. label: ACL Configuration
  580. schema:
  581. type: dict
  582. show_if: [["acl_enable", "=", true]]
  583. attrs: []
  584. $ref:
  585. - "normalize/acl"
  586. - variable: cifs_config
  587. label: SMB Configuration
  588. description: The configuration for the SMB dataset.
  589. schema:
  590. type: dict
  591. show_if: [["type", "=", "cifs"]]
  592. attrs:
  593. - variable: server
  594. label: Server
  595. description: The server to mount the SMB share.
  596. schema:
  597. type: string
  598. required: true
  599. - variable: path
  600. label: Path
  601. description: The path to mount the SMB share.
  602. schema:
  603. type: string
  604. required: true
  605. - variable: username
  606. label: Username
  607. description: The username to use for the SMB share.
  608. schema:
  609. type: string
  610. required: true
  611. - variable: password
  612. label: Password
  613. description: The password to use for the SMB share.
  614. schema:
  615. type: string
  616. required: true
  617. private: true
  618. - variable: domain
  619. label: Domain
  620. description: The domain to use for the SMB share.
  621. schema:
  622. type: string
  623. - variable: labels
  624. label: ""
  625. group: Labels Configuration
  626. schema:
  627. type: list
  628. default: []
  629. items:
  630. - variable: label
  631. label: Label
  632. schema:
  633. type: dict
  634. attrs:
  635. - variable: key
  636. label: Key
  637. schema:
  638. type: string
  639. required: true
  640. - variable: value
  641. label: Value
  642. schema:
  643. type: string
  644. required: true
  645. - variable: containers
  646. label: Containers
  647. description: Containers where the label should be applied
  648. schema:
  649. type: list
  650. items:
  651. - variable: container
  652. label: Container
  653. schema:
  654. type: string
  655. required: true
  656. enum:
  657. - value: zipline
  658. description: zipline
  659. - value: postgres
  660. description: postgres
  661. - variable: resources
  662. label: ""
  663. group: Resources Configuration
  664. schema:
  665. type: dict
  666. attrs:
  667. - variable: limits
  668. label: Limits
  669. schema:
  670. type: dict
  671. attrs:
  672. - variable: cpus
  673. label: CPUs
  674. description: CPUs limit for Zipline.
  675. schema:
  676. type: int
  677. default: 2
  678. required: true
  679. - variable: memory
  680. label: Memory (in MB)
  681. description: Memory limit for Zipline.
  682. schema:
  683. type: int
  684. default: 4096
  685. required: true