questions.yaml 15 KB

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