questions.yaml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465
  1. groups:
  2. - name: Gotify Configuration
  3. description: Configure Gotify
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Gotify
  6. - name: Network Configuration
  7. description: Configure Network for Gotify
  8. - name: Storage Configuration
  9. description: Configure Storage for Gotify
  10. - name: Labels Configuration
  11. description: Configure Labels for Gotify
  12. - name: Resources Configuration
  13. description: Configure Resources for Gotify
  14. questions:
  15. - variable: TZ
  16. group: Gotify Configuration
  17. label: Timezone
  18. schema:
  19. type: string
  20. default: Etc/UTC
  21. required: true
  22. $ref:
  23. - definitions/timezone
  24. - variable: gotify
  25. label: ""
  26. group: Gotify 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 Gotify 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 Gotify 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: http_port
  79. label: HTTP Port
  80. schema:
  81. type: dict
  82. attrs:
  83. - variable: bind_mode
  84. label: Port Bind Mode
  85. description: |
  86. The port bind mode.</br>
  87. - Publish: The port will be published on the host for external access.</br>
  88. - Expose: The port will be exposed for inter-container communication.</br>
  89. - None: The port will not be exposed or published.</br>
  90. Note: If the Dockerfile defines an EXPOSE directive,
  91. the port will still be exposed for inter-container communication regardless of this setting.
  92. schema:
  93. type: string
  94. default: "published"
  95. enum:
  96. - value: "published"
  97. description: Publish port on the host for external access
  98. - value: "exposed"
  99. description: Expose port for inter-container communication
  100. - value: ""
  101. description: None
  102. - variable: port_number
  103. label: Port Number
  104. schema:
  105. type: int
  106. default: 30215
  107. min: 1
  108. max: 65535
  109. required: true
  110. - variable: host_ips
  111. label: Host IPs
  112. description: IPs on the host to bind this port
  113. schema:
  114. type: list
  115. show_if: [["bind_mode", "=", "published"]]
  116. default: []
  117. items:
  118. - variable: host_ip
  119. label: Host IP
  120. schema:
  121. type: string
  122. required: true
  123. $ref:
  124. - definitions/node_bind_ip
  125. - variable: https_port
  126. label: HTTPS Port
  127. schema:
  128. type: dict
  129. show_if: [["certificate_id", "!=", null]]
  130. attrs:
  131. - variable: bind_mode
  132. label: Port Bind Mode
  133. description: |
  134. The port bind mode.</br>
  135. - Publish: The port will be published on the host for external access.</br>
  136. - Expose: The port will be exposed for inter-container communication.</br>
  137. - None: The port will not be exposed or published.</br>
  138. Note: If the Dockerfile defines an EXPOSE directive,
  139. the port will still be exposed for inter-container communication regardless of this setting.
  140. schema:
  141. type: string
  142. default: "published"
  143. enum:
  144. - value: "published"
  145. description: Publish port on the host for external access
  146. - value: "exposed"
  147. description: Expose port for inter-container communication
  148. - value: ""
  149. description: None
  150. - variable: port_number
  151. label: Port Number
  152. schema:
  153. type: int
  154. default: 30216
  155. min: 1
  156. max: 65535
  157. required: true
  158. - variable: host_ips
  159. label: Host IPs
  160. description: IPs on the host to bind this port
  161. schema:
  162. type: list
  163. show_if: [["bind_mode", "=", "published"]]
  164. default: []
  165. items:
  166. - variable: host_ip
  167. label: Host IP
  168. schema:
  169. type: string
  170. required: true
  171. $ref:
  172. - definitions/node_bind_ip
  173. - variable: host_network
  174. label: Host Network
  175. description: |
  176. Bind to the host network. It's recommended to keep this disabled.
  177. schema:
  178. type: boolean
  179. default: false
  180. - variable: certificate_id
  181. label: Certificate
  182. description: The certificate to use for Gotify.
  183. schema:
  184. type: int
  185. "null": true
  186. $ref:
  187. - "definitions/certificate"
  188. - variable: storage
  189. label: ""
  190. group: Storage Configuration
  191. schema:
  192. type: dict
  193. attrs:
  194. - variable: data
  195. label: Data Storage
  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.
  204. schema:
  205. type: string
  206. required: true
  207. default: "ix_volume"
  208. enum:
  209. - value: "host_path"
  210. description: Host Path (Path that already exists on the system)
  211. - value: "ix_volume"
  212. description: ixVolume (Dataset created automatically by the system)
  213. - variable: ix_volume_config
  214. label: ixVolume Configuration
  215. description: The configuration for the ixVolume dataset.
  216. schema:
  217. type: dict
  218. show_if: [["type", "=", "ix_volume"]]
  219. $ref:
  220. - "normalize/ix_volume"
  221. attrs:
  222. - variable: acl_enable
  223. label: Enable ACL
  224. description: Enable ACL for the storage.
  225. schema:
  226. type: boolean
  227. default: false
  228. - variable: dataset_name
  229. label: Dataset Name
  230. description: The name of the dataset to use for storage.
  231. schema:
  232. type: string
  233. required: true
  234. hidden: true
  235. default: "data"
  236. - variable: acl_entries
  237. label: ACL Configuration
  238. schema:
  239. type: dict
  240. show_if: [["acl_enable", "=", true]]
  241. attrs: []
  242. - variable: host_path_config
  243. label: Host Path Configuration
  244. schema:
  245. type: dict
  246. show_if: [["type", "=", "host_path"]]
  247. attrs:
  248. - variable: acl_enable
  249. label: Enable ACL
  250. description: Enable ACL for the storage.
  251. schema:
  252. type: boolean
  253. default: false
  254. - variable: acl
  255. label: ACL Configuration
  256. schema:
  257. type: dict
  258. show_if: [["acl_enable", "=", true]]
  259. attrs: []
  260. $ref:
  261. - "normalize/acl"
  262. - variable: path
  263. label: Host Path
  264. description: The host path to use for storage.
  265. schema:
  266. type: hostpath
  267. show_if: [["acl_enable", "=", false]]
  268. required: true
  269. - variable: additional_storage
  270. label: Additional Storage
  271. schema:
  272. type: list
  273. default: []
  274. items:
  275. - variable: storageEntry
  276. label: Storage Entry
  277. schema:
  278. type: dict
  279. attrs:
  280. - variable: type
  281. label: Type
  282. description: |
  283. ixVolume: Is dataset created automatically by the system.</br>
  284. Host Path: Is a path that already exists on the system.</br>
  285. SMB Share: Is a SMB share that is mounted to as a volume.
  286. schema:
  287. type: string
  288. required: true
  289. default: "ix_volume"
  290. enum:
  291. - value: "host_path"
  292. description: Host Path (Path that already exists on the system)
  293. - value: "ix_volume"
  294. description: ixVolume (Dataset created automatically by the system)
  295. - value: "cifs"
  296. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  297. - variable: read_only
  298. label: Read Only
  299. description: Mount the volume as read only.
  300. schema:
  301. type: boolean
  302. default: false
  303. - variable: mount_path
  304. label: Mount Path
  305. description: The path inside the container to mount the storage.
  306. schema:
  307. type: path
  308. required: true
  309. - variable: host_path_config
  310. label: Host Path Configuration
  311. schema:
  312. type: dict
  313. show_if: [["type", "=", "host_path"]]
  314. attrs:
  315. - variable: acl_enable
  316. label: Enable ACL
  317. description: Enable ACL for the storage.
  318. schema:
  319. type: boolean
  320. default: false
  321. - variable: acl
  322. label: ACL Configuration
  323. schema:
  324. type: dict
  325. show_if: [["acl_enable", "=", true]]
  326. attrs: []
  327. $ref:
  328. - "normalize/acl"
  329. - variable: path
  330. label: Host Path
  331. description: The host path to use for storage.
  332. schema:
  333. type: hostpath
  334. show_if: [["acl_enable", "=", false]]
  335. required: true
  336. - variable: ix_volume_config
  337. label: ixVolume Configuration
  338. description: The configuration for the ixVolume dataset.
  339. schema:
  340. type: dict
  341. show_if: [["type", "=", "ix_volume"]]
  342. $ref:
  343. - "normalize/ix_volume"
  344. attrs:
  345. - variable: acl_enable
  346. label: Enable ACL
  347. description: Enable ACL for the storage.
  348. schema:
  349. type: boolean
  350. default: false
  351. - variable: dataset_name
  352. label: Dataset Name
  353. description: The name of the dataset to use for storage.
  354. schema:
  355. type: string
  356. required: true
  357. default: "storage_entry"
  358. - variable: acl_entries
  359. label: ACL Configuration
  360. schema:
  361. type: dict
  362. show_if: [["acl_enable", "=", true]]
  363. attrs: []
  364. $ref:
  365. - "normalize/acl"
  366. - variable: cifs_config
  367. label: SMB Configuration
  368. description: The configuration for the SMB dataset.
  369. schema:
  370. type: dict
  371. show_if: [["type", "=", "cifs"]]
  372. attrs:
  373. - variable: server
  374. label: Server
  375. description: The server to mount the SMB share.
  376. schema:
  377. type: string
  378. required: true
  379. - variable: path
  380. label: Path
  381. description: The path to mount the SMB share.
  382. schema:
  383. type: string
  384. required: true
  385. - variable: username
  386. label: Username
  387. description: The username to use for the SMB share.
  388. schema:
  389. type: string
  390. required: true
  391. - variable: password
  392. label: Password
  393. description: The password to use for the SMB share.
  394. schema:
  395. type: string
  396. required: true
  397. private: true
  398. - variable: domain
  399. label: Domain
  400. description: The domain to use for the SMB share.
  401. schema:
  402. type: string
  403. - variable: labels
  404. label: ""
  405. group: Labels Configuration
  406. schema:
  407. type: list
  408. default: []
  409. items:
  410. - variable: label
  411. label: Label
  412. schema:
  413. type: dict
  414. attrs:
  415. - variable: key
  416. label: Key
  417. schema:
  418. type: string
  419. required: true
  420. - variable: value
  421. label: Value
  422. schema:
  423. type: string
  424. required: true
  425. - variable: containers
  426. label: Containers
  427. description: Containers where the label should be applied
  428. schema:
  429. type: list
  430. items:
  431. - variable: container
  432. label: Container
  433. schema:
  434. type: string
  435. required: true
  436. enum:
  437. - value: gotify
  438. description: gotify
  439. - variable: resources
  440. label: ""
  441. group: Resources Configuration
  442. schema:
  443. type: dict
  444. attrs:
  445. - variable: limits
  446. label: Limits
  447. schema:
  448. type: dict
  449. attrs:
  450. - variable: cpus
  451. label: CPUs
  452. description: CPUs limit for Gotify.
  453. schema:
  454. type: int
  455. default: 2
  456. required: true
  457. - variable: memory
  458. label: Memory (in MB)
  459. description: Memory limit for Gotify.
  460. schema:
  461. type: int
  462. default: 4096
  463. required: true