questions.yaml 15 KB

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