questions.yaml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. groups:
  2. - name: Duplicati Configuration
  3. description: Configure Duplicati
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Duplicati
  6. - name: Network Configuration
  7. description: Configure Network for Duplicati
  8. - name: Storage Configuration
  9. description: Configure Storage for Duplicati
  10. - name: Labels Configuration
  11. description: Configure Labels for Duplicati
  12. - name: Resources Configuration
  13. description: Configure Resources for Duplicati
  14. questions:
  15. - variable: TZ
  16. group: Duplicati Configuration
  17. label: Timezone
  18. schema:
  19. type: string
  20. default: Etc/UTC
  21. required: true
  22. $ref:
  23. - definitions/timezone
  24. - variable: duplicati
  25. label: ""
  26. group: Duplicati Configuration
  27. schema:
  28. type: dict
  29. attrs:
  30. - variable: password
  31. label: Password
  32. description: The password for Duplicati.
  33. schema:
  34. type: string
  35. default: ""
  36. required: true
  37. private: true
  38. - variable: encryption_key
  39. label: Encryption Key
  40. description: |
  41. The encryption key for Duplicati.</br>
  42. Leave empty to disable encryption.
  43. schema:
  44. type: string
  45. default: ""
  46. - variable: additional_envs
  47. label: Additional Environment Variables
  48. schema:
  49. type: list
  50. default: []
  51. items:
  52. - variable: env
  53. label: Environment Variable
  54. schema:
  55. type: dict
  56. attrs:
  57. - variable: name
  58. label: Name
  59. schema:
  60. type: string
  61. required: true
  62. - variable: value
  63. label: Value
  64. schema:
  65. type: string
  66. - variable: run_as
  67. label: ""
  68. group: User and Group Configuration
  69. schema:
  70. type: dict
  71. attrs:
  72. - variable: user
  73. label: User ID
  74. description: The user id that Duplicati files will be owned by.
  75. schema:
  76. type: int
  77. min: 568
  78. default: 568
  79. required: true
  80. - variable: group
  81. label: Group ID
  82. description: The group id that Duplicati files will be owned by.
  83. schema:
  84. type: int
  85. min: 568
  86. default: 568
  87. required: true
  88. - variable: network
  89. label: ""
  90. group: Network Configuration
  91. schema:
  92. type: dict
  93. attrs:
  94. - variable: web_port
  95. label: WebUI Port
  96. schema:
  97. type: dict
  98. attrs:
  99. - variable: bind_mode
  100. label: Port Bind Mode
  101. description: |
  102. The port bind mode.</br>
  103. - Publish: The port will be published on the host for external access.</br>
  104. - Expose: The port will be exposed for inter-container communication.</br>
  105. - None: The port will not be exposed or published.</br>
  106. Note: If the Dockerfile defines an EXPOSE directive,
  107. the port will still be exposed for inter-container communication regardless of this setting.
  108. schema:
  109. type: string
  110. default: "published"
  111. enum:
  112. - value: "published"
  113. description: Publish port on the host for external access
  114. - value: "exposed"
  115. description: Expose port for inter-container communication
  116. - value: ""
  117. description: None
  118. - variable: port_number
  119. label: Port Number
  120. schema:
  121. type: int
  122. default: 30121
  123. min: 1
  124. max: 65535
  125. required: true
  126. - variable: host_ips
  127. label: Host IPs
  128. description: IPs on the host to bind this port
  129. schema:
  130. type: list
  131. show_if: [["bind_mode", "=", "published"]]
  132. default: []
  133. items:
  134. - variable: host_ip
  135. label: Host IP
  136. schema:
  137. type: string
  138. required: true
  139. $ref:
  140. - definitions/node_bind_ip
  141. - variable: storage
  142. label: ""
  143. group: Storage Configuration
  144. schema:
  145. type: dict
  146. attrs:
  147. - variable: data
  148. label: Data Storage
  149. description: The path to store Postgres Data.
  150. schema:
  151. type: dict
  152. attrs:
  153. - variable: type
  154. label: Type
  155. description: |
  156. ixVolume: Is dataset created automatically by the system.</br>
  157. Host Path: Is a path that already exists on the system.
  158. schema:
  159. type: string
  160. required: true
  161. default: "ix_volume"
  162. enum:
  163. - value: "host_path"
  164. description: Host Path (Path that already exists on the system)
  165. - value: "ix_volume"
  166. description: ixVolume (Dataset created automatically by the system)
  167. - variable: ix_volume_config
  168. label: ixVolume Configuration
  169. description: The configuration for the ixVolume dataset.
  170. schema:
  171. type: dict
  172. show_if: [["type", "=", "ix_volume"]]
  173. $ref:
  174. - "normalize/ix_volume"
  175. attrs:
  176. - variable: acl_enable
  177. label: Enable ACL
  178. description: Enable ACL for the storage.
  179. schema:
  180. type: boolean
  181. default: false
  182. - variable: dataset_name
  183. label: Dataset Name
  184. description: The name of the dataset to use for storage.
  185. schema:
  186. type: string
  187. required: true
  188. hidden: true
  189. default: "data"
  190. - variable: acl_entries
  191. label: ACL Configuration
  192. schema:
  193. type: dict
  194. show_if: [["acl_enable", "=", true]]
  195. attrs: []
  196. - variable: host_path_config
  197. label: Host Path Configuration
  198. schema:
  199. type: dict
  200. show_if: [["type", "=", "host_path"]]
  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: acl
  209. label: ACL Configuration
  210. schema:
  211. type: dict
  212. show_if: [["acl_enable", "=", true]]
  213. attrs: []
  214. $ref:
  215. - "normalize/acl"
  216. - variable: path
  217. label: Host Path
  218. description: The host path to use for storage.
  219. schema:
  220. type: hostpath
  221. show_if: [["acl_enable", "=", false]]
  222. required: true
  223. - variable: auto_permissions
  224. label: Automatic Permissions
  225. description: |
  226. Automatically set permissions for the host path.
  227. Enabling this, will check the top level directory,</br>
  228. If it finds incorrect permissions, it will `chown` the
  229. host path to the user and group required for the
  230. postgres container.
  231. schema:
  232. type: boolean
  233. default: false
  234. show_if: [["acl_enable", "=", false]]
  235. - variable: additional_storage
  236. label: Additional Storage
  237. schema:
  238. type: list
  239. default: []
  240. items:
  241. - variable: storageEntry
  242. label: Storage Entry
  243. schema:
  244. type: dict
  245. attrs:
  246. - variable: type
  247. label: Type
  248. description: |
  249. ixVolume: Is dataset created automatically by the system.</br>
  250. Host Path: Is a path that already exists on the system.</br>
  251. SMB Share: Is a SMB share that is mounted to as a volume.
  252. schema:
  253. type: string
  254. required: true
  255. default: "ix_volume"
  256. enum:
  257. - value: "host_path"
  258. description: Host Path (Path that already exists on the system)
  259. - value: "ix_volume"
  260. description: ixVolume (Dataset created automatically by the system)
  261. - value: "cifs"
  262. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  263. - variable: read_only
  264. label: Read Only
  265. description: Mount the volume as read only.
  266. schema:
  267. type: boolean
  268. default: false
  269. - variable: mount_path
  270. label: Mount Path
  271. description: The path inside the container to mount the storage.
  272. schema:
  273. type: path
  274. required: true
  275. - variable: host_path_config
  276. label: Host Path Configuration
  277. schema:
  278. type: dict
  279. show_if: [["type", "=", "host_path"]]
  280. attrs:
  281. - variable: acl_enable
  282. label: Enable ACL
  283. description: Enable ACL for the storage.
  284. schema:
  285. type: boolean
  286. default: false
  287. - variable: acl
  288. label: ACL Configuration
  289. schema:
  290. type: dict
  291. show_if: [["acl_enable", "=", true]]
  292. attrs: []
  293. $ref:
  294. - "normalize/acl"
  295. - variable: path
  296. label: Host Path
  297. description: The host path to use for storage.
  298. schema:
  299. type: hostpath
  300. show_if: [["acl_enable", "=", false]]
  301. required: true
  302. - variable: ix_volume_config
  303. label: ixVolume Configuration
  304. description: The configuration for the ixVolume dataset.
  305. schema:
  306. type: dict
  307. show_if: [["type", "=", "ix_volume"]]
  308. $ref:
  309. - "normalize/ix_volume"
  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: dataset_name
  318. label: Dataset Name
  319. description: The name of the dataset to use for storage.
  320. schema:
  321. type: string
  322. required: true
  323. default: "storage_entry"
  324. - variable: acl_entries
  325. label: ACL Configuration
  326. schema:
  327. type: dict
  328. show_if: [["acl_enable", "=", true]]
  329. attrs: []
  330. $ref:
  331. - "normalize/acl"
  332. - variable: cifs_config
  333. label: SMB Configuration
  334. description: The configuration for the SMB dataset.
  335. schema:
  336. type: dict
  337. show_if: [["type", "=", "cifs"]]
  338. attrs:
  339. - variable: server
  340. label: Server
  341. description: The server to mount the SMB share.
  342. schema:
  343. type: string
  344. required: true
  345. - variable: path
  346. label: Path
  347. description: The path to mount the SMB share.
  348. schema:
  349. type: string
  350. required: true
  351. - variable: username
  352. label: Username
  353. description: The username to use for the SMB share.
  354. schema:
  355. type: string
  356. required: true
  357. - variable: password
  358. label: Password
  359. description: The password to use for the SMB share.
  360. schema:
  361. type: string
  362. required: true
  363. private: true
  364. - variable: domain
  365. label: Domain
  366. description: The domain to use for the SMB share.
  367. schema:
  368. type: string
  369. - variable: labels
  370. label: ""
  371. group: Labels Configuration
  372. schema:
  373. type: list
  374. default: []
  375. items:
  376. - variable: label
  377. label: Label
  378. schema:
  379. type: dict
  380. attrs:
  381. - variable: key
  382. label: Key
  383. schema:
  384. type: string
  385. required: true
  386. - variable: value
  387. label: Value
  388. schema:
  389. type: string
  390. required: true
  391. - variable: containers
  392. label: Containers
  393. description: Containers where the label should be applied
  394. schema:
  395. type: list
  396. items:
  397. - variable: container
  398. label: Container
  399. schema:
  400. type: string
  401. required: true
  402. enum:
  403. - value: duplicati
  404. description: duplicati
  405. - variable: resources
  406. label: ""
  407. group: Resources Configuration
  408. schema:
  409. type: dict
  410. attrs:
  411. - variable: limits
  412. label: Limits
  413. schema:
  414. type: dict
  415. attrs:
  416. - variable: cpus
  417. label: CPUs
  418. description: CPUs limit for Duplicati.
  419. schema:
  420. type: int
  421. default: 2
  422. required: true
  423. - variable: memory
  424. label: Memory (in MB)
  425. description: Memory limit for Duplicati.
  426. schema:
  427. type: int
  428. default: 4096
  429. required: true