questions.yaml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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. description: |
  123. ixVolume: Is dataset created automatically by the system.</br>
  124. Host Path: Is a path that already exists on the system.
  125. schema:
  126. type: string
  127. default: ixVolume
  128. required: true
  129. enum:
  130. - value: hostPath
  131. description: Host Path (Path that already exists on the system)
  132. - value: ixVolume
  133. description: ixVolume (Dataset created automatically by the system)
  134. - variable: hostPath
  135. label: Host Path
  136. schema:
  137. type: hostpath
  138. show_if: [["type", "=", "hostPath"]]
  139. default: ""
  140. - variable: datasetName
  141. label: Dataset Name
  142. schema:
  143. type: string
  144. default: data
  145. show_if: [["type", "=", "ixVolume"]]
  146. hidden: true
  147. $ref:
  148. - "normalize/ixVolume"
  149. - variable: plots
  150. label: Plots
  151. schema:
  152. type: dict
  153. attrs:
  154. - variable: type
  155. label: Type
  156. description: |
  157. ixVolume: Is dataset created automatically by the system.</br>
  158. Host Path: Is a path that already exists on the system.
  159. schema:
  160. type: string
  161. default: ixVolume
  162. required: true
  163. enum:
  164. - value: hostPath
  165. description: Host Path (Path that already exists on the system)
  166. - value: ixVolume
  167. description: ixVolume (Dataset created automatically by the system)
  168. - variable: hostPath
  169. label: Host Path
  170. schema:
  171. type: hostpath
  172. show_if: [["type", "=", "hostPath"]]
  173. default: ""
  174. - variable: datasetName
  175. label: Dataset Name
  176. schema:
  177. type: string
  178. default: plots
  179. show_if: [["type", "=", "ixVolume"]]
  180. hidden: true
  181. $ref:
  182. - "normalize/ixVolume"
  183. - variable: additionalVolumes
  184. label: Additional Volumes
  185. schema:
  186. type: list
  187. default: []
  188. items:
  189. - variable: volume
  190. label: Volume
  191. schema:
  192. type: dict
  193. attrs:
  194. - variable: isPlotDir
  195. label: Directory for Plots
  196. description: |
  197. If this is checked, it will append the directory to <plots_dir> variable <br>
  198. Keep this unchecked if you want to mount a directory for anything else.
  199. schema:
  200. type: boolean
  201. default: false
  202. - variable: type
  203. label: Type
  204. description: |
  205. ixVolume: Is dataset created automatically by the system.</br>
  206. Host Path: Is a path that already exists on the system.
  207. schema:
  208. type: string
  209. default: ixVolume
  210. required: true
  211. enum:
  212. - value: hostPath
  213. description: Host Path (Path that already exists on the system)
  214. - value: ixVolume
  215. description: ixVolume (Dataset created automatically by the system)
  216. - variable: hostPath
  217. label: Host Path
  218. schema:
  219. type: hostpath
  220. show_if: [["type", "=", "hostPath"]]
  221. default: ""
  222. - variable: datasetName
  223. label: Dataset Name
  224. schema:
  225. type: string
  226. default: "volume1"
  227. required: true
  228. show_if: [["type", "=", "ixVolume"]]
  229. $ref:
  230. - "normalize/ixVolume"
  231. - variable: mountPath
  232. label: Mount Path
  233. description: Path to mount the volume inside the container
  234. schema:
  235. type: string
  236. required: true
  237. default: ""
  238. - variable: resources
  239. label: ""
  240. group: Resources Configuration
  241. schema:
  242. type: dict
  243. attrs:
  244. - variable: limits
  245. label: Limits
  246. schema:
  247. type: dict
  248. attrs:
  249. - variable: cpu
  250. label: CPU
  251. description: CPU limit for qBittorrent.
  252. schema:
  253. type: string
  254. default: 4000m
  255. required: true
  256. - variable: memory
  257. label: Memory
  258. description: Memory limit for qBittorrent.
  259. schema:
  260. type: string
  261. default: 8Gi
  262. required: true