questions.yaml 18 KB

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