questions.yaml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. groups:
  2. - name: Chia Configuration
  3. description: Configure Chia
  4. - name: Network Configuration
  5. description: Configure Network for Chia
  6. - name: Storage Configuration
  7. description: Configure Storage for Chia
  8. - name: Resources Configuration
  9. description: Configure Resources for Chia
  10. questions:
  11. - variable: TZ
  12. group: Chia Configuration
  13. label: Timezone
  14. schema:
  15. type: string
  16. default: Etc/UTC
  17. required: true
  18. $ref:
  19. - definitions/timezone
  20. - variable: chiaNetwork
  21. group: Network Configuration
  22. label: ""
  23. schema:
  24. type: dict
  25. attrs:
  26. - variable: chiaPort
  27. label: Chia Port
  28. description: Ports below 9000 will enable Host Network automatically.
  29. schema:
  30. type: int
  31. default: 38444
  32. required: true
  33. - variable: farmerPort
  34. label: Farmer Port
  35. description: Ports below 9000 will enable Host Network automatically.
  36. schema:
  37. type: int
  38. default: 38447
  39. required: true
  40. - variable: chiaConfig
  41. group: Chia Configuration
  42. label: ""
  43. schema:
  44. type: dict
  45. attrs:
  46. - variable: service
  47. label: Chia Service Mode
  48. description: Select the Chia Service Mode
  49. schema:
  50. type: string
  51. default: ""
  52. enum:
  53. - value: ""
  54. description: Full Node
  55. - value: farmer-only
  56. description: Farmer
  57. - value: harvester
  58. description: Harvester
  59. - variable: farmer_address
  60. label: Farmer Address
  61. schema:
  62. type: string
  63. show_if: [["service", "=", "harvester"]]
  64. required: true
  65. default: ""
  66. - variable: farmer_port
  67. label: Farmer Port
  68. schema:
  69. type: int
  70. show_if: [["service", "=", "harvester"]]
  71. required: true
  72. default: 8447
  73. - variable: ca
  74. label: CA
  75. schema:
  76. type: string
  77. show_if: [["service", "=", "harvester"]]
  78. required: true
  79. default: ""
  80. - variable: full_node_peer
  81. label: Full Node Peer
  82. schema:
  83. type: string
  84. default: ""
  85. - variable: additionalEnvs
  86. label: Additional Environments
  87. description: Additional Environments
  88. schema:
  89. type: list
  90. default: []
  91. items:
  92. - variable: env
  93. label: Variable
  94. schema:
  95. type: dict
  96. attrs:
  97. - variable: name
  98. label: Name
  99. schema:
  100. type: string
  101. required: true
  102. default: ""
  103. - variable: value
  104. label: Value
  105. schema:
  106. type: string
  107. required: true
  108. default: ""
  109. - variable: chiaStorage
  110. group: Storage Configuration
  111. label: ""
  112. schema:
  113. type: dict
  114. attrs:
  115. - variable: data
  116. label: Data
  117. schema:
  118. type: dict
  119. attrs:
  120. - variable: type
  121. label: Type
  122. schema:
  123. type: string
  124. default: ixVolume
  125. required: true
  126. enum:
  127. - value: ixVolume
  128. description: ixVolume
  129. - value: hostPath
  130. description: hostPath
  131. - variable: hostPath
  132. label: Host Path
  133. schema:
  134. type: hostpath
  135. show_if: [["type", "=", "hostPath"]]
  136. default: ""
  137. - variable: datasetName
  138. label: Dataset Name
  139. schema:
  140. type: string
  141. default: data
  142. show_if: [["type", "=", "ixVolume"]]
  143. hidden: true
  144. $ref:
  145. - "normalize/ixVolume"
  146. - variable: plots
  147. label: Plots
  148. schema:
  149. type: dict
  150. attrs:
  151. - variable: type
  152. label: Type
  153. schema:
  154. type: string
  155. default: ixVolume
  156. required: true
  157. enum:
  158. - value: ixVolume
  159. description: ixVolume
  160. - value: hostPath
  161. description: hostPath
  162. - variable: hostPath
  163. label: Host Path
  164. schema:
  165. type: hostpath
  166. show_if: [["type", "=", "hostPath"]]
  167. default: ""
  168. - variable: datasetName
  169. label: Dataset Name
  170. schema:
  171. type: string
  172. default: plots
  173. show_if: [["type", "=", "ixVolume"]]
  174. hidden: true
  175. $ref:
  176. - "normalize/ixVolume"
  177. - variable: additionalVolumes
  178. label: Additional Volumes
  179. schema:
  180. type: list
  181. default: []
  182. items:
  183. - variable: volume
  184. label: Volume
  185. schema:
  186. type: dict
  187. attrs:
  188. - variable: isPlotDir
  189. label: Directory for Plots
  190. description: |
  191. If this is checked, it will append the directory to <plots_dir> variable <br>
  192. Keep this unchecked if you want to mount a directory for anything else.
  193. schema:
  194. type: boolean
  195. default: false
  196. - variable: type
  197. label: Type
  198. schema:
  199. type: string
  200. default: ixVolume
  201. required: true
  202. enum:
  203. - value: ixVolume
  204. description: ixVolume
  205. - value: hostPath
  206. description: hostPath
  207. - variable: hostPath
  208. label: Host Path
  209. schema:
  210. type: hostpath
  211. show_if: [["type", "=", "hostPath"]]
  212. default: ""
  213. - variable: datasetName
  214. label: Dataset Name
  215. schema:
  216. type: string
  217. default: "volume1"
  218. required: true
  219. show_if: [["type", "=", "ixVolume"]]
  220. $ref:
  221. - "normalize/ixVolume"
  222. - variable: mountPath
  223. label: Mount Path
  224. description: Path to mount the volume inside the container
  225. schema:
  226. type: string
  227. required: true
  228. default: ""
  229. - variable: resources
  230. label: ""
  231. group: Resources Configuration
  232. schema:
  233. type: dict
  234. attrs:
  235. - variable: limits
  236. label: Limits
  237. schema:
  238. type: dict
  239. attrs:
  240. - variable: cpu
  241. label: CPU
  242. description: CPU limit for qBittorrent.
  243. schema:
  244. type: string
  245. default: 4000m
  246. required: true
  247. - variable: memory
  248. label: Memory
  249. description: Memory limit for qBittorrent.
  250. schema:
  251. type: string
  252. default: 8Gi
  253. required: true