questions.yaml 13 KB

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