questions.yaml 13 KB

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