questions.yaml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  1. groups:
  2. - name: Docker Socket Proxy Configuration
  3. description: Configure Docker Socket Proxy
  4. - name: Network Configuration
  5. description: Configure Network for Docker Socket Proxy
  6. - name: Storage Configuration
  7. description: Configure Storage for Docker Socket Proxy
  8. - name: Labels Configuration
  9. description: Configure Labels for Docker Socket Proxy
  10. - name: Resources Configuration
  11. description: Configure Resources for Docker Socket Proxy
  12. questions:
  13. - variable: TZ
  14. group: Docker Socket Proxy Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: socket_proxy
  23. label: ""
  24. group: Docker Socket Proxy Configuration
  25. description: |
  26. For more information what each option does, please refer to the documentation of the Docker Socket Proxy project.</br>
  27. Documentation at https://github.com/Tecnativa/docker-socket-proxy?tab=readme-ov-file#grant-or-revoke-access-to-certain-api-sections
  28. schema:
  29. type: dict
  30. attrs:
  31. - variable: allow_restarts
  32. label: Allow Restarts
  33. schema:
  34. type: boolean
  35. default: true
  36. - variable: allow_start
  37. label: Allow Start
  38. schema:
  39. type: boolean
  40. default: true
  41. - variable: allow_stop
  42. label: Allow Stop
  43. schema:
  44. type: boolean
  45. default: true
  46. - variable: auth
  47. label: Auth
  48. schema:
  49. type: boolean
  50. default: true
  51. - variable: build
  52. label: Build
  53. schema:
  54. type: boolean
  55. default: true
  56. - variable: commit
  57. label: Commit
  58. schema:
  59. type: boolean
  60. default: true
  61. - variable: configs
  62. label: Configs
  63. schema:
  64. type: boolean
  65. default: true
  66. - variable: containers
  67. label: Containers
  68. schema:
  69. type: boolean
  70. default: true
  71. - variable: distribution
  72. label: Distribution
  73. schema:
  74. type: boolean
  75. default: true
  76. - variable: events
  77. label: Events
  78. schema:
  79. type: boolean
  80. default: true
  81. - variable: exec
  82. label: Exec
  83. schema:
  84. type: boolean
  85. default: true
  86. - variable: grpc
  87. label: gRPC
  88. schema:
  89. type: boolean
  90. default: true
  91. - variable: images
  92. label: Images
  93. schema:
  94. type: boolean
  95. default: true
  96. - variable: info
  97. label: Info
  98. schema:
  99. type: boolean
  100. default: true
  101. - variable: networks
  102. label: Networks
  103. schema:
  104. type: boolean
  105. default: true
  106. - variable: nodes
  107. label: Nodes
  108. schema:
  109. type: boolean
  110. default: true
  111. - variable: ping
  112. label: Ping
  113. schema:
  114. type: boolean
  115. default: true
  116. - variable: plugins
  117. label: Plugins
  118. schema:
  119. type: boolean
  120. default: true
  121. - variable: post
  122. label: Post
  123. schema:
  124. type: boolean
  125. default: true
  126. - variable: secrets
  127. label: Secrets
  128. schema:
  129. type: boolean
  130. default: true
  131. - variable: services
  132. label: Services
  133. schema:
  134. type: boolean
  135. default: true
  136. - variable: session
  137. label: Session
  138. schema:
  139. type: boolean
  140. default: true
  141. - variable: swarm
  142. label: Swarm
  143. schema:
  144. type: boolean
  145. default: true
  146. - variable: system
  147. label: System
  148. schema:
  149. type: boolean
  150. default: true
  151. - variable: tasks
  152. label: Tasks
  153. schema:
  154. type: boolean
  155. default: true
  156. - variable: version
  157. label: Version
  158. schema:
  159. type: boolean
  160. default: true
  161. - variable: volumes
  162. label: Volumes
  163. schema:
  164. type: boolean
  165. default: true
  166. - variable: additional_envs
  167. label: Additional Environment Variables
  168. schema:
  169. type: list
  170. default: []
  171. items:
  172. - variable: env
  173. label: Environment Variable
  174. schema:
  175. type: dict
  176. attrs:
  177. - variable: name
  178. label: Name
  179. schema:
  180. type: string
  181. required: true
  182. - variable: value
  183. label: Value
  184. schema:
  185. type: string
  186. - variable: network
  187. label: ""
  188. group: Network Configuration
  189. schema:
  190. type: dict
  191. attrs:
  192. - variable: tcp_port
  193. label: TCP Port
  194. schema:
  195. type: dict
  196. attrs:
  197. - variable: bind_mode
  198. label: Port Bind Mode
  199. description: |
  200. The port bind mode.</br>
  201. - Publish: The port will be published on the host for external access.</br>
  202. - Expose: The port will be exposed for inter-container communication.</br>
  203. - None: The port will not be exposed or published.</br>
  204. Note: If the Dockerfile defines an EXPOSE directive,
  205. the port will still be exposed for inter-container communication regardless of this setting.
  206. schema:
  207. type: string
  208. default: "published"
  209. enum:
  210. - value: "published"
  211. description: Publish port on the host for external access
  212. - value: ""
  213. description: None
  214. - variable: port_number
  215. label: Port Number
  216. schema:
  217. type: int
  218. default: 2375
  219. show_if: [["bind_mode", "=", "published"]]
  220. min: 1
  221. max: 65535
  222. required: true
  223. - variable: host_ips
  224. label: Host IPs
  225. description: IPs on the host to bind this port
  226. schema:
  227. type: list
  228. show_if: [["bind_mode", "=", "published"]]
  229. default: []
  230. items:
  231. - variable: host_ip
  232. label: Host IP
  233. schema:
  234. type: string
  235. required: true
  236. $ref:
  237. - definitions/node_bind_ip
  238. - variable: storage
  239. label: ""
  240. group: Storage Configuration
  241. schema:
  242. type: dict
  243. attrs:
  244. - variable: additional_storage
  245. label: Additional Storage
  246. schema:
  247. type: list
  248. default: []
  249. items:
  250. - variable: storageEntry
  251. label: Storage Entry
  252. schema:
  253. type: dict
  254. attrs:
  255. - variable: type
  256. label: Type
  257. description: |
  258. ixVolume: Is dataset created automatically by the system.</br>
  259. Host Path: Is a path that already exists on the system.</br>
  260. SMB Share: Is a SMB share that is mounted to as a volume.
  261. schema:
  262. type: string
  263. required: true
  264. default: "ix_volume"
  265. enum:
  266. - value: "host_path"
  267. description: Host Path (Path that already exists on the system)
  268. - value: "ix_volume"
  269. description: ixVolume (Dataset created automatically by the system)
  270. - value: "cifs"
  271. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  272. - variable: read_only
  273. label: Read Only
  274. description: Mount the volume as read only.
  275. schema:
  276. type: boolean
  277. default: false
  278. - variable: mount_path
  279. label: Mount Path
  280. description: The path inside the container to mount the storage.
  281. schema:
  282. type: path
  283. required: true
  284. - variable: host_path_config
  285. label: Host Path Configuration
  286. schema:
  287. type: dict
  288. show_if: [["type", "=", "host_path"]]
  289. attrs:
  290. - variable: acl_enable
  291. label: Enable ACL
  292. description: Enable ACL for the storage.
  293. schema:
  294. type: boolean
  295. default: false
  296. - variable: acl
  297. label: ACL Configuration
  298. schema:
  299. type: dict
  300. show_if: [["acl_enable", "=", true]]
  301. attrs: []
  302. $ref:
  303. - "normalize/acl"
  304. - variable: path
  305. label: Host Path
  306. description: The host path to use for storage.
  307. schema:
  308. type: hostpath
  309. show_if: [["acl_enable", "=", false]]
  310. required: true
  311. - variable: ix_volume_config
  312. label: ixVolume Configuration
  313. description: The configuration for the ixVolume dataset.
  314. schema:
  315. type: dict
  316. show_if: [["type", "=", "ix_volume"]]
  317. $ref:
  318. - "normalize/ix_volume"
  319. attrs:
  320. - variable: acl_enable
  321. label: Enable ACL
  322. description: Enable ACL for the storage.
  323. schema:
  324. type: boolean
  325. default: false
  326. - variable: dataset_name
  327. label: Dataset Name
  328. description: The name of the dataset to use for storage.
  329. schema:
  330. type: string
  331. required: true
  332. default: "storage_entry"
  333. - variable: acl_entries
  334. label: ACL Configuration
  335. schema:
  336. type: dict
  337. show_if: [["acl_enable", "=", true]]
  338. attrs: []
  339. $ref:
  340. - "normalize/acl"
  341. - variable: cifs_config
  342. label: SMB Configuration
  343. description: The configuration for the SMB dataset.
  344. schema:
  345. type: dict
  346. show_if: [["type", "=", "cifs"]]
  347. attrs:
  348. - variable: server
  349. label: Server
  350. description: The server to mount the SMB share.
  351. schema:
  352. type: string
  353. required: true
  354. - variable: path
  355. label: Path
  356. description: The path to mount the SMB share.
  357. schema:
  358. type: string
  359. required: true
  360. - variable: username
  361. label: Username
  362. description: The username to use for the SMB share.
  363. schema:
  364. type: string
  365. required: true
  366. - variable: password
  367. label: Password
  368. description: The password to use for the SMB share.
  369. schema:
  370. type: string
  371. required: true
  372. private: true
  373. - variable: domain
  374. label: Domain
  375. description: The domain to use for the SMB share.
  376. schema:
  377. type: string
  378. - variable: labels
  379. label: ""
  380. group: Labels Configuration
  381. schema:
  382. type: list
  383. default: []
  384. items:
  385. - variable: label
  386. label: Label
  387. schema:
  388. type: dict
  389. attrs:
  390. - variable: key
  391. label: Key
  392. schema:
  393. type: string
  394. required: true
  395. - variable: value
  396. label: Value
  397. schema:
  398. type: string
  399. required: true
  400. - variable: containers
  401. label: Containers
  402. description: Containers where the label should be applied
  403. schema:
  404. type: list
  405. items:
  406. - variable: container
  407. label: Container
  408. schema:
  409. type: string
  410. required: true
  411. enum:
  412. - value: docker-socket-proxy
  413. description: docker-socket-proxy
  414. - variable: resources
  415. label: ""
  416. group: Resources Configuration
  417. schema:
  418. type: dict
  419. attrs:
  420. - variable: limits
  421. label: Limits
  422. schema:
  423. type: dict
  424. attrs:
  425. - variable: cpus
  426. label: CPUs
  427. description: CPUs limit for Docker Socket Proxy.
  428. schema:
  429. type: int
  430. default: 2
  431. required: true
  432. - variable: memory
  433. label: Memory (in MB)
  434. description: Memory limit for Docker Socket Proxy.
  435. schema:
  436. type: int
  437. default: 4096
  438. required: true