questions.yaml 20 KB

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