questions.yaml 15 KB

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