questions.yaml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  1. groups:
  2. - name: Enclosed Configuration
  3. description: Configure Enclosed
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Enclosed
  6. - name: Network Configuration
  7. description: Configure Network for Enclosed
  8. - name: Storage Configuration
  9. description: Configure Storage for Enclosed
  10. - name: Labels Configuration
  11. description: Configure Labels for Enclosed
  12. - name: Resources Configuration
  13. description: Configure Resources for Enclosed
  14. questions:
  15. - variable: TZ
  16. group: Enclosed Configuration
  17. label: Timezone
  18. schema:
  19. type: string
  20. default: Etc/UTC
  21. required: true
  22. $ref:
  23. - definitions/timezone
  24. - variable: enclosed
  25. label: ""
  26. group: Enclosed 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 Enclosed 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 Enclosed 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: 30232
  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: certificate_id
  133. label: Certificate
  134. description: The certificate to use for Enclosed.
  135. schema:
  136. type: int
  137. "null": true
  138. $ref:
  139. - "definitions/certificate"
  140. - variable: storage
  141. label: ""
  142. group: Storage Configuration
  143. schema:
  144. type: dict
  145. attrs:
  146. - variable: data
  147. label: Data Storage
  148. schema:
  149. type: dict
  150. attrs:
  151. - variable: type
  152. label: Type
  153. description: |
  154. ixVolume: Is dataset created automatically by the system.</br>
  155. Host Path: Is a path that already exists on the system.
  156. schema:
  157. type: string
  158. required: true
  159. default: "ix_volume"
  160. enum:
  161. - value: "host_path"
  162. description: Host Path (Path that already exists on the system)
  163. - value: "ix_volume"
  164. description: ixVolume (Dataset created automatically by the system)
  165. - variable: ix_volume_config
  166. label: ixVolume Configuration
  167. description: The configuration for the ixVolume dataset.
  168. schema:
  169. type: dict
  170. show_if: [["type", "=", "ix_volume"]]
  171. $ref:
  172. - "normalize/ix_volume"
  173. attrs:
  174. - variable: acl_enable
  175. label: Enable ACL
  176. description: Enable ACL for the storage.
  177. schema:
  178. type: boolean
  179. default: false
  180. - variable: dataset_name
  181. label: Dataset Name
  182. description: The name of the dataset to use for storage.
  183. schema:
  184. type: string
  185. required: true
  186. hidden: true
  187. default: "data"
  188. - variable: acl_entries
  189. label: ACL Configuration
  190. schema:
  191. type: dict
  192. show_if: [["acl_enable", "=", true]]
  193. attrs: []
  194. - variable: host_path_config
  195. label: Host Path Configuration
  196. schema:
  197. type: dict
  198. show_if: [["type", "=", "host_path"]]
  199. attrs:
  200. - variable: acl_enable
  201. label: Enable ACL
  202. description: Enable ACL for the storage.
  203. schema:
  204. type: boolean
  205. default: false
  206. - variable: acl
  207. label: ACL Configuration
  208. schema:
  209. type: dict
  210. show_if: [["acl_enable", "=", true]]
  211. attrs: []
  212. $ref:
  213. - "normalize/acl"
  214. - variable: path
  215. label: Host Path
  216. description: The host path to use for storage.
  217. schema:
  218. type: hostpath
  219. show_if: [["acl_enable", "=", false]]
  220. required: true
  221. - variable: additional_storage
  222. label: Additional Storage
  223. schema:
  224. type: list
  225. default: []
  226. items:
  227. - variable: storageEntry
  228. label: Storage Entry
  229. schema:
  230. type: dict
  231. attrs:
  232. - variable: type
  233. label: Type
  234. description: |
  235. ixVolume: Is dataset created automatically by the system.</br>
  236. Host Path: Is a path that already exists on the system.</br>
  237. SMB Share: Is a SMB share that is mounted to as a volume.
  238. schema:
  239. type: string
  240. required: true
  241. default: "ix_volume"
  242. enum:
  243. - value: "host_path"
  244. description: Host Path (Path that already exists on the system)
  245. - value: "ix_volume"
  246. description: ixVolume (Dataset created automatically by the system)
  247. - value: "cifs"
  248. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  249. - variable: read_only
  250. label: Read Only
  251. description: Mount the volume as read only.
  252. schema:
  253. type: boolean
  254. default: false
  255. - variable: mount_path
  256. label: Mount Path
  257. description: The path inside the container to mount the storage.
  258. schema:
  259. type: path
  260. required: true
  261. - variable: host_path_config
  262. label: Host Path Configuration
  263. schema:
  264. type: dict
  265. show_if: [["type", "=", "host_path"]]
  266. attrs:
  267. - variable: acl_enable
  268. label: Enable ACL
  269. description: Enable ACL for the storage.
  270. schema:
  271. type: boolean
  272. default: false
  273. - variable: acl
  274. label: ACL Configuration
  275. schema:
  276. type: dict
  277. show_if: [["acl_enable", "=", true]]
  278. attrs: []
  279. $ref:
  280. - "normalize/acl"
  281. - variable: path
  282. label: Host Path
  283. description: The host path to use for storage.
  284. schema:
  285. type: hostpath
  286. show_if: [["acl_enable", "=", false]]
  287. required: true
  288. - variable: ix_volume_config
  289. label: ixVolume Configuration
  290. description: The configuration for the ixVolume dataset.
  291. schema:
  292. type: dict
  293. show_if: [["type", "=", "ix_volume"]]
  294. $ref:
  295. - "normalize/ix_volume"
  296. attrs:
  297. - variable: acl_enable
  298. label: Enable ACL
  299. description: Enable ACL for the storage.
  300. schema:
  301. type: boolean
  302. default: false
  303. - variable: dataset_name
  304. label: Dataset Name
  305. description: The name of the dataset to use for storage.
  306. schema:
  307. type: string
  308. required: true
  309. default: "storage_entry"
  310. - variable: acl_entries
  311. label: ACL Configuration
  312. schema:
  313. type: dict
  314. show_if: [["acl_enable", "=", true]]
  315. attrs: []
  316. $ref:
  317. - "normalize/acl"
  318. - variable: cifs_config
  319. label: SMB Configuration
  320. description: The configuration for the SMB dataset.
  321. schema:
  322. type: dict
  323. show_if: [["type", "=", "cifs"]]
  324. attrs:
  325. - variable: server
  326. label: Server
  327. description: The server to mount the SMB share.
  328. schema:
  329. type: string
  330. required: true
  331. - variable: path
  332. label: Path
  333. description: The path to mount the SMB share.
  334. schema:
  335. type: string
  336. required: true
  337. - variable: username
  338. label: Username
  339. description: The username to use for the SMB share.
  340. schema:
  341. type: string
  342. required: true
  343. - variable: password
  344. label: Password
  345. description: The password to use for the SMB share.
  346. schema:
  347. type: string
  348. required: true
  349. private: true
  350. - variable: domain
  351. label: Domain
  352. description: The domain to use for the SMB share.
  353. schema:
  354. type: string
  355. - variable: labels
  356. label: ""
  357. group: Labels Configuration
  358. schema:
  359. type: list
  360. default: []
  361. items:
  362. - variable: label
  363. label: Label
  364. schema:
  365. type: dict
  366. attrs:
  367. - variable: key
  368. label: Key
  369. schema:
  370. type: string
  371. required: true
  372. - variable: value
  373. label: Value
  374. schema:
  375. type: string
  376. required: true
  377. - variable: containers
  378. label: Containers
  379. description: Containers where the label should be applied
  380. schema:
  381. type: list
  382. items:
  383. - variable: container
  384. label: Container
  385. schema:
  386. type: string
  387. required: true
  388. enum:
  389. - value: enclosed
  390. description: enclosed
  391. - variable: resources
  392. label: ""
  393. group: Resources Configuration
  394. schema:
  395. type: dict
  396. attrs:
  397. - variable: limits
  398. label: Limits
  399. schema:
  400. type: dict
  401. attrs:
  402. - variable: cpus
  403. label: CPUs
  404. description: CPUs limit for Enclosed.
  405. schema:
  406. type: int
  407. default: 2
  408. required: true
  409. - variable: memory
  410. label: Memory (in MB)
  411. description: Memory limit for Enclosed.
  412. schema:
  413. type: int
  414. default: 4096
  415. required: true