questions.yaml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. groups:
  2. - name: Dozzle Configuration
  3. description: Configure Dozzle
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Dozzle
  6. - name: Network Configuration
  7. description: Configure Network for Dozzle
  8. - name: Storage Configuration
  9. description: Configure Storage for Dozzle
  10. - name: Labels Configuration
  11. description: Configure Labels for Dozzle
  12. - name: Resources Configuration
  13. description: Configure Resources for Dozzle
  14. questions:
  15. - variable: TZ
  16. group: Dozzle Configuration
  17. label: Timezone
  18. schema:
  19. type: string
  20. default: Etc/UTC
  21. required: true
  22. $ref:
  23. - definitions/timezone
  24. - variable: dozzle
  25. label: ""
  26. group: Dozzle 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 Dozzle files will be owned by.
  59. schema:
  60. type: int
  61. min: 568
  62. default: 568
  63. required: true
  64. - variable: group
  65. label: Group ID
  66. description: The group id that Dozzle files will be owned by.
  67. schema:
  68. type: int
  69. min: 568
  70. default: 568
  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. attrs:
  83. - variable: bind_mode
  84. label: Port Bind Mode
  85. description: |
  86. The port bind mode.</br>
  87. - Publish: The port will be published on the host for external access.</br>
  88. - Expose: The port will be exposed for inter-container communication.</br>
  89. - None: The port will not be exposed or published.</br>
  90. Note: If the Dockerfile defines an EXPOSE directive,
  91. the port will still be exposed for inter-container communication regardless of this setting.
  92. schema:
  93. type: string
  94. default: "published"
  95. enum:
  96. - value: "published"
  97. description: Publish port on the host for external access
  98. - value: "exposed"
  99. description: Expose port for inter-container communication
  100. - value: ""
  101. description: None
  102. - variable: port_number
  103. label: Port Number
  104. schema:
  105. type: int
  106. default: 30064
  107. min: 1
  108. max: 65535
  109. required: true
  110. - variable: host_ips
  111. label: Host IPs
  112. description: IPs on the host to bind this port
  113. schema:
  114. type: list
  115. show_if: [["bind_mode", "=", "published"]]
  116. default: []
  117. items:
  118. - variable: host_ip
  119. label: Host IP
  120. schema:
  121. type: string
  122. required: true
  123. $ref:
  124. - definitions/node_bind_ip
  125. - variable: host_network
  126. label: Host Network
  127. description: |
  128. Bind to the host network. It's recommended to keep this disabled.
  129. schema:
  130. type: boolean
  131. default: false
  132. - variable: storage
  133. label: ""
  134. group: Storage Configuration
  135. schema:
  136. type: dict
  137. attrs:
  138. - variable: additional_storage
  139. label: Additional Storage
  140. schema:
  141. type: list
  142. default: []
  143. items:
  144. - variable: storageEntry
  145. label: Storage Entry
  146. schema:
  147. type: dict
  148. attrs:
  149. - variable: type
  150. label: Type
  151. description: |
  152. ixVolume: Is dataset created automatically by the system.</br>
  153. Host Path: Is a path that already exists on the system.</br>
  154. SMB Share: Is a SMB share that is mounted to as a volume.
  155. schema:
  156. type: string
  157. required: true
  158. default: "ix_volume"
  159. enum:
  160. - value: "host_path"
  161. description: Host Path (Path that already exists on the system)
  162. - value: "ix_volume"
  163. description: ixVolume (Dataset created automatically by the system)
  164. - value: "cifs"
  165. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  166. - variable: read_only
  167. label: Read Only
  168. description: Mount the volume as read only.
  169. schema:
  170. type: boolean
  171. default: false
  172. - variable: mount_path
  173. label: Mount Path
  174. description: The path inside the container to mount the storage.
  175. schema:
  176. type: path
  177. required: true
  178. - variable: host_path_config
  179. label: Host Path Configuration
  180. schema:
  181. type: dict
  182. show_if: [["type", "=", "host_path"]]
  183. attrs:
  184. - variable: acl_enable
  185. label: Enable ACL
  186. description: Enable ACL for the storage.
  187. schema:
  188. type: boolean
  189. default: false
  190. - variable: acl
  191. label: ACL Configuration
  192. schema:
  193. type: dict
  194. show_if: [["acl_enable", "=", true]]
  195. attrs: []
  196. $ref:
  197. - "normalize/acl"
  198. - variable: path
  199. label: Host Path
  200. description: The host path to use for storage.
  201. schema:
  202. type: hostpath
  203. show_if: [["acl_enable", "=", false]]
  204. required: true
  205. - variable: ix_volume_config
  206. label: ixVolume Configuration
  207. description: The configuration for the ixVolume dataset.
  208. schema:
  209. type: dict
  210. show_if: [["type", "=", "ix_volume"]]
  211. $ref:
  212. - "normalize/ix_volume"
  213. attrs:
  214. - variable: acl_enable
  215. label: Enable ACL
  216. description: Enable ACL for the storage.
  217. schema:
  218. type: boolean
  219. default: false
  220. - variable: dataset_name
  221. label: Dataset Name
  222. description: The name of the dataset to use for storage.
  223. schema:
  224. type: string
  225. required: true
  226. default: "storage_entry"
  227. - variable: acl_entries
  228. label: ACL Configuration
  229. schema:
  230. type: dict
  231. show_if: [["acl_enable", "=", true]]
  232. attrs: []
  233. $ref:
  234. - "normalize/acl"
  235. - variable: cifs_config
  236. label: SMB Configuration
  237. description: The configuration for the SMB dataset.
  238. schema:
  239. type: dict
  240. show_if: [["type", "=", "cifs"]]
  241. attrs:
  242. - variable: server
  243. label: Server
  244. description: The server to mount the SMB share.
  245. schema:
  246. type: string
  247. required: true
  248. - variable: path
  249. label: Path
  250. description: The path to mount the SMB share.
  251. schema:
  252. type: string
  253. required: true
  254. - variable: username
  255. label: Username
  256. description: The username to use for the SMB share.
  257. schema:
  258. type: string
  259. required: true
  260. - variable: password
  261. label: Password
  262. description: The password to use for the SMB share.
  263. schema:
  264. type: string
  265. required: true
  266. private: true
  267. - variable: domain
  268. label: Domain
  269. description: The domain to use for the SMB share.
  270. schema:
  271. type: string
  272. - variable: labels
  273. label: ""
  274. group: Labels Configuration
  275. schema:
  276. type: list
  277. default: []
  278. items:
  279. - variable: label
  280. label: Label
  281. schema:
  282. type: dict
  283. attrs:
  284. - variable: key
  285. label: Key
  286. schema:
  287. type: string
  288. required: true
  289. - variable: value
  290. label: Value
  291. schema:
  292. type: string
  293. required: true
  294. - variable: containers
  295. label: Containers
  296. description: Containers where the label should be applied
  297. schema:
  298. type: list
  299. items:
  300. - variable: container
  301. label: Container
  302. schema:
  303. type: string
  304. required: true
  305. enum:
  306. - value: dozzle
  307. description: dozzle
  308. - variable: resources
  309. label: ""
  310. group: Resources Configuration
  311. schema:
  312. type: dict
  313. attrs:
  314. - variable: limits
  315. label: Limits
  316. schema:
  317. type: dict
  318. attrs:
  319. - variable: cpus
  320. label: CPUs
  321. description: CPUs limit for Dozzle.
  322. schema:
  323. type: int
  324. default: 2
  325. required: true
  326. - variable: memory
  327. label: Memory (in MB)
  328. description: Memory limit for Dozzle.
  329. schema:
  330. type: int
  331. default: 4096
  332. required: true