questions.yaml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706
  1. groups:
  2. - name: UrBackup Configuration
  3. description: Configure UrBackup
  4. - name: User and Group Configuration
  5. description: Configure User and Group for UrBackup
  6. - name: Network Configuration
  7. description: Configure Network for UrBackup
  8. - name: Storage Configuration
  9. description: Configure Storage for UrBackup
  10. - name: Labels Configuration
  11. description: Configure Labels for UrBackup
  12. - name: Resources Configuration
  13. description: Configure Resources for UrBackup
  14. questions:
  15. - variable: TZ
  16. group: UrBackup Configuration
  17. label: Timezone
  18. schema:
  19. type: string
  20. default: Etc/UTC
  21. required: true
  22. $ref:
  23. - definitions/timezone
  24. - variable: urbackup
  25. label: ""
  26. group: UrBackup 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 UrBackup files will be owned by.
  59. schema:
  60. type: int
  61. min: 0
  62. default: 0
  63. required: true
  64. - variable: group
  65. label: Group ID
  66. description: The group id that UrBackup files will be owned by.
  67. schema:
  68. type: int
  69. min: 0
  70. default: 0
  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. show_if: [["host_network", "=", false]]
  83. attrs:
  84. - variable: bind_mode
  85. label: Port Bind Mode
  86. description: |
  87. The port bind mode.</br>
  88. - Publish: The port will be published on the host for external access.</br>
  89. - Expose: The port will be exposed for inter-container communication.</br>
  90. - None: The port will not be exposed or published.</br>
  91. Note: If the Dockerfile defines an EXPOSE directive,
  92. the port will still be exposed for inter-container communication regardless of this setting.
  93. schema:
  94. type: string
  95. default: "published"
  96. enum:
  97. - value: "published"
  98. description: Publish port on the host for external access
  99. - value: "exposed"
  100. description: Expose port for inter-container communication
  101. - value: ""
  102. description: None
  103. - variable: port_number
  104. label: Port Number
  105. schema:
  106. type: int
  107. show_if: [["bind_mode", "=", "published"]]
  108. default: 55414
  109. min: 1
  110. max: 65535
  111. required: true
  112. - variable: host_ips
  113. label: Host IPs
  114. description: IPs on the host to bind this port
  115. schema:
  116. type: list
  117. show_if: [["bind_mode", "=", "published"]]
  118. default: []
  119. items:
  120. - variable: host_ip
  121. label: Host IP
  122. schema:
  123. type: string
  124. required: true
  125. $ref:
  126. - definitions/node_bind_ip
  127. - variable: backup_port_1
  128. label: Backup Port 1
  129. schema:
  130. type: dict
  131. show_if: [["host_network", "=", false]]
  132. attrs:
  133. - variable: bind_mode
  134. label: Port Bind Mode
  135. description: |
  136. The port bind mode.</br>
  137. - Publish: The port will be published on the host for external access.</br>
  138. - Expose: The port will be exposed for inter-container communication.</br>
  139. - None: The port will not be exposed or published.</br>
  140. Note: If the Dockerfile defines an EXPOSE directive,
  141. the port will still be exposed for inter-container communication regardless of this setting.
  142. schema:
  143. type: string
  144. default: "published"
  145. enum:
  146. - value: "published"
  147. description: Publish port on the host for external access
  148. - value: "exposed"
  149. description: Expose port for inter-container communication
  150. - value: ""
  151. description: None
  152. - variable: port_number
  153. label: Port Number
  154. schema:
  155. type: int
  156. show_if: [["bind_mode", "=", "published"]]
  157. default: 55413
  158. min: 1
  159. max: 65535
  160. required: true
  161. - variable: host_ips
  162. label: Host IPs
  163. description: IPs on the host to bind this port
  164. schema:
  165. type: list
  166. show_if: [["bind_mode", "=", "published"]]
  167. default: []
  168. items:
  169. - variable: host_ip
  170. label: Host IP
  171. schema:
  172. type: string
  173. required: true
  174. $ref:
  175. - definitions/node_bind_ip
  176. - variable: backup_port_2
  177. label: Backup Port 2
  178. schema:
  179. type: dict
  180. show_if: [["host_network", "=", false]]
  181. attrs:
  182. - variable: bind_mode
  183. label: Port Bind Mode
  184. description: |
  185. The port bind mode.</br>
  186. - Publish: The port will be published on the host for external access.</br>
  187. - Expose: The port will be exposed for inter-container communication.</br>
  188. - None: The port will not be exposed or published.</br>
  189. Note: If the Dockerfile defines an EXPOSE directive,
  190. the port will still be exposed for inter-container communication regardless of this setting.
  191. schema:
  192. type: string
  193. default: "published"
  194. enum:
  195. - value: "published"
  196. description: Publish port on the host for external access
  197. - value: "exposed"
  198. description: Expose port for inter-container communication
  199. - value: ""
  200. description: None
  201. - variable: port_number
  202. label: Port Number
  203. schema:
  204. type: int
  205. show_if: [["bind_mode", "=", "published"]]
  206. default: 55415
  207. min: 1
  208. max: 65535
  209. required: true
  210. - variable: host_ips
  211. label: Host IPs
  212. description: IPs on the host to bind this port
  213. schema:
  214. type: list
  215. show_if: [["bind_mode", "=", "published"]]
  216. default: []
  217. items:
  218. - variable: host_ip
  219. label: Host IP
  220. schema:
  221. type: string
  222. required: true
  223. $ref:
  224. - definitions/node_bind_ip
  225. - variable: backup_port_3
  226. label: Backup Port 3
  227. schema:
  228. type: dict
  229. show_if: [["host_network", "=", false]]
  230. attrs:
  231. - variable: bind_mode
  232. label: Port Bind Mode
  233. description: |
  234. The port bind mode.</br>
  235. - Publish: The port will be published on the host for external access.</br>
  236. - Expose: The port will be exposed for inter-container communication.</br>
  237. - None: The port will not be exposed or published.</br>
  238. Note: If the Dockerfile defines an EXPOSE directive,
  239. the port will still be exposed for inter-container communication regardless of this setting.
  240. schema:
  241. type: string
  242. default: "published"
  243. enum:
  244. - value: "published"
  245. description: Publish port on the host for external access
  246. - value: "exposed"
  247. description: Expose port for inter-container communication
  248. - value: ""
  249. description: None
  250. - variable: port_number
  251. label: Port Number
  252. schema:
  253. type: int
  254. show_if: [["bind_mode", "=", "published"]]
  255. default: 35623
  256. min: 1
  257. max: 65535
  258. required: true
  259. - variable: host_ips
  260. label: Host IPs
  261. description: IPs on the host to bind this port
  262. schema:
  263. type: list
  264. show_if: [["bind_mode", "=", "published"]]
  265. default: []
  266. items:
  267. - variable: host_ip
  268. label: Host IP
  269. schema:
  270. type: string
  271. required: true
  272. $ref:
  273. - definitions/node_bind_ip
  274. - variable: host_network
  275. label: Host Network
  276. description: |
  277. Bind to the host network. It's recommended to keep this disabled.
  278. schema:
  279. type: boolean
  280. default: false
  281. - variable: storage
  282. label: ""
  283. group: Storage Configuration
  284. schema:
  285. type: dict
  286. attrs:
  287. - variable: backups
  288. label: Backups Storage
  289. schema:
  290. type: dict
  291. attrs:
  292. - variable: type
  293. label: Type
  294. description: |
  295. ixVolume: Is dataset created automatically by the system.</br>
  296. Host Path: Is a path that already exists on the system.
  297. schema:
  298. type: string
  299. required: true
  300. default: "ix_volume"
  301. enum:
  302. - value: "host_path"
  303. description: Host Path (Path that already exists on the system)
  304. - value: "ix_volume"
  305. description: ixVolume (Dataset created automatically by the system)
  306. - variable: ix_volume_config
  307. label: ixVolume Configuration
  308. description: The configuration for the ixVolume dataset.
  309. schema:
  310. type: dict
  311. show_if: [["type", "=", "ix_volume"]]
  312. $ref:
  313. - "normalize/ix_volume"
  314. attrs:
  315. - variable: acl_enable
  316. label: Enable ACL
  317. description: Enable ACL for the storage.
  318. schema:
  319. type: boolean
  320. default: false
  321. - variable: dataset_name
  322. label: Dataset Name
  323. description: The name of the dataset to use for storage.
  324. schema:
  325. type: string
  326. required: true
  327. hidden: true
  328. default: "backups"
  329. - variable: acl_entries
  330. label: ACL Configuration
  331. schema:
  332. type: dict
  333. show_if: [["acl_enable", "=", true]]
  334. attrs: []
  335. - variable: host_path_config
  336. label: Host Path Configuration
  337. schema:
  338. type: dict
  339. show_if: [["type", "=", "host_path"]]
  340. attrs:
  341. - variable: acl_enable
  342. label: Enable ACL
  343. description: Enable ACL for the storage.
  344. schema:
  345. type: boolean
  346. default: false
  347. - variable: acl
  348. label: ACL Configuration
  349. schema:
  350. type: dict
  351. show_if: [["acl_enable", "=", true]]
  352. attrs: []
  353. $ref:
  354. - "normalize/acl"
  355. - variable: path
  356. label: Host Path
  357. description: The host path to use for storage.
  358. schema:
  359. type: hostpath
  360. show_if: [["acl_enable", "=", false]]
  361. required: true
  362. - variable: database
  363. label: Database Storage
  364. schema:
  365. type: dict
  366. attrs:
  367. - variable: type
  368. label: Type
  369. description: |
  370. ixVolume: Is dataset created automatically by the system.</br>
  371. Host Path: Is a path that already exists on the system.
  372. schema:
  373. type: string
  374. required: true
  375. default: "ix_volume"
  376. enum:
  377. - value: "host_path"
  378. description: Host Path (Path that already exists on the system)
  379. - value: "ix_volume"
  380. description: ixVolume (Dataset created automatically by the system)
  381. - variable: ix_volume_config
  382. label: ixVolume Configuration
  383. description: The configuration for the ixVolume dataset.
  384. schema:
  385. type: dict
  386. show_if: [["type", "=", "ix_volume"]]
  387. $ref:
  388. - "normalize/ix_volume"
  389. attrs:
  390. - variable: acl_enable
  391. label: Enable ACL
  392. description: Enable ACL for the storage.
  393. schema:
  394. type: boolean
  395. default: false
  396. - variable: dataset_name
  397. label: Dataset Name
  398. description: The name of the dataset to use for storage.
  399. schema:
  400. type: string
  401. required: true
  402. hidden: true
  403. default: "database"
  404. - variable: acl_entries
  405. label: ACL Configuration
  406. schema:
  407. type: dict
  408. show_if: [["acl_enable", "=", true]]
  409. attrs: []
  410. - variable: host_path_config
  411. label: Host Path Configuration
  412. schema:
  413. type: dict
  414. show_if: [["type", "=", "host_path"]]
  415. attrs:
  416. - variable: acl_enable
  417. label: Enable ACL
  418. description: Enable ACL for the storage.
  419. schema:
  420. type: boolean
  421. default: false
  422. - variable: acl
  423. label: ACL Configuration
  424. schema:
  425. type: dict
  426. show_if: [["acl_enable", "=", true]]
  427. attrs: []
  428. $ref:
  429. - "normalize/acl"
  430. - variable: path
  431. label: Host Path
  432. description: The host path to use for storage.
  433. schema:
  434. type: hostpath
  435. show_if: [["acl_enable", "=", false]]
  436. required: true
  437. - variable: logs
  438. label: Logs Storage
  439. schema:
  440. type: dict
  441. attrs:
  442. - variable: type
  443. label: Type
  444. description: |
  445. ixVolume: Is dataset created automatically by the system.</br>
  446. Host Path: Is a path that already exists on the system.
  447. schema:
  448. type: string
  449. required: true
  450. default: "ix_volume"
  451. enum:
  452. - value: "host_path"
  453. description: Host Path (Path that already exists on the system)
  454. - value: "ix_volume"
  455. description: ixVolume (Dataset created automatically by the system)
  456. - variable: ix_volume_config
  457. label: ixVolume Configuration
  458. description: The configuration for the ixVolume dataset.
  459. schema:
  460. type: dict
  461. show_if: [["type", "=", "ix_volume"]]
  462. $ref:
  463. - "normalize/ix_volume"
  464. attrs:
  465. - variable: acl_enable
  466. label: Enable ACL
  467. description: Enable ACL for the storage.
  468. schema:
  469. type: boolean
  470. default: false
  471. - variable: dataset_name
  472. label: Dataset Name
  473. description: The name of the dataset to use for storage.
  474. schema:
  475. type: string
  476. required: true
  477. hidden: true
  478. default: "logs"
  479. - variable: acl_entries
  480. label: ACL Configuration
  481. schema:
  482. type: dict
  483. show_if: [["acl_enable", "=", true]]
  484. attrs: []
  485. - variable: host_path_config
  486. label: Host Path Configuration
  487. schema:
  488. type: dict
  489. show_if: [["type", "=", "host_path"]]
  490. attrs:
  491. - variable: acl_enable
  492. label: Enable ACL
  493. description: Enable ACL for the storage.
  494. schema:
  495. type: boolean
  496. default: false
  497. - variable: acl
  498. label: ACL Configuration
  499. schema:
  500. type: dict
  501. show_if: [["acl_enable", "=", true]]
  502. attrs: []
  503. $ref:
  504. - "normalize/acl"
  505. - variable: path
  506. label: Host Path
  507. description: The host path to use for storage.
  508. schema:
  509. type: hostpath
  510. show_if: [["acl_enable", "=", false]]
  511. required: true
  512. - variable: additional_storage
  513. label: Additional Storage
  514. schema:
  515. type: list
  516. default: []
  517. items:
  518. - variable: storageEntry
  519. label: Storage Entry
  520. schema:
  521. type: dict
  522. attrs:
  523. - variable: type
  524. label: Type
  525. description: |
  526. ixVolume: Is dataset created automatically by the system.</br>
  527. Host Path: Is a path that already exists on the system.</br>
  528. SMB Share: Is a SMB share that is mounted to as a volume.
  529. schema:
  530. type: string
  531. required: true
  532. default: "ix_volume"
  533. enum:
  534. - value: "host_path"
  535. description: Host Path (Path that already exists on the system)
  536. - value: "ix_volume"
  537. description: ixVolume (Dataset created automatically by the system)
  538. - value: "cifs"
  539. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  540. - variable: read_only
  541. label: Read Only
  542. description: Mount the volume as read only.
  543. schema:
  544. type: boolean
  545. default: false
  546. - variable: mount_path
  547. label: Mount Path
  548. description: The path inside the container to mount the storage.
  549. schema:
  550. type: path
  551. required: true
  552. - variable: host_path_config
  553. label: Host Path Configuration
  554. schema:
  555. type: dict
  556. show_if: [["type", "=", "host_path"]]
  557. attrs:
  558. - variable: acl_enable
  559. label: Enable ACL
  560. description: Enable ACL for the storage.
  561. schema:
  562. type: boolean
  563. default: false
  564. - variable: acl
  565. label: ACL Configuration
  566. schema:
  567. type: dict
  568. show_if: [["acl_enable", "=", true]]
  569. attrs: []
  570. $ref:
  571. - "normalize/acl"
  572. - variable: path
  573. label: Host Path
  574. description: The host path to use for storage.
  575. schema:
  576. type: hostpath
  577. show_if: [["acl_enable", "=", false]]
  578. required: true
  579. - variable: ix_volume_config
  580. label: ixVolume Configuration
  581. description: The configuration for the ixVolume dataset.
  582. schema:
  583. type: dict
  584. show_if: [["type", "=", "ix_volume"]]
  585. $ref:
  586. - "normalize/ix_volume"
  587. attrs:
  588. - variable: acl_enable
  589. label: Enable ACL
  590. description: Enable ACL for the storage.
  591. schema:
  592. type: boolean
  593. default: false
  594. - variable: dataset_name
  595. label: Dataset Name
  596. description: The name of the dataset to use for storage.
  597. schema:
  598. type: string
  599. required: true
  600. default: "storage_entry"
  601. - variable: acl_entries
  602. label: ACL Configuration
  603. schema:
  604. type: dict
  605. show_if: [["acl_enable", "=", true]]
  606. attrs: []
  607. - variable: cifs_config
  608. label: SMB Configuration
  609. description: The configuration for the SMB dataset.
  610. schema:
  611. type: dict
  612. show_if: [["type", "=", "cifs"]]
  613. attrs:
  614. - variable: server
  615. label: Server
  616. description: The server to mount the SMB share.
  617. schema:
  618. type: string
  619. required: true
  620. - variable: path
  621. label: Path
  622. description: The path to mount the SMB share.
  623. schema:
  624. type: string
  625. required: true
  626. - variable: username
  627. label: Username
  628. description: The username to use for the SMB share.
  629. schema:
  630. type: string
  631. required: true
  632. - variable: password
  633. label: Password
  634. description: The password to use for the SMB share.
  635. schema:
  636. type: string
  637. required: true
  638. private: true
  639. - variable: domain
  640. label: Domain
  641. description: The domain to use for the SMB share.
  642. schema:
  643. type: string
  644. - variable: labels
  645. label: ""
  646. group: Labels Configuration
  647. schema:
  648. type: list
  649. default: []
  650. items:
  651. - variable: label
  652. label: Label
  653. schema:
  654. type: dict
  655. attrs:
  656. - variable: key
  657. label: Key
  658. schema:
  659. type: string
  660. required: true
  661. - variable: value
  662. label: Value
  663. schema:
  664. type: string
  665. required: true
  666. - variable: containers
  667. label: Containers
  668. description: Containers where the label should be applied
  669. schema:
  670. type: list
  671. items:
  672. - variable: container
  673. label: Container
  674. schema:
  675. type: string
  676. required: true
  677. enum:
  678. - value: urbackup-server
  679. description: urbackup-server
  680. - variable: resources
  681. label: ""
  682. group: Resources Configuration
  683. schema:
  684. type: dict
  685. attrs:
  686. - variable: limits
  687. label: Limits
  688. schema:
  689. type: dict
  690. attrs:
  691. - variable: cpus
  692. label: CPUs
  693. description: CPUs limit for UrBackup.
  694. schema:
  695. type: int
  696. default: 2
  697. required: true
  698. - variable: memory
  699. label: Memory (in MB)
  700. description: Memory limit for UrBackup.
  701. schema:
  702. type: int
  703. default: 4096
  704. required: true