questions.yaml 15 KB

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