questions.yaml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  1. groups:
  2. - name: Keycloak Configuration
  3. description: Configure Keycloak
  4. - name: Network Configuration
  5. description: Configure Network for Keycloak
  6. - name: Storage Configuration
  7. description: Configure Storage for Keycloak
  8. - name: Labels Configuration
  9. description: Configure Labels for Keycloak
  10. - name: Resources Configuration
  11. description: Configure Resources for Keycloak
  12. questions:
  13. - variable: TZ
  14. group: Keycloak Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: keycloak
  23. label: ""
  24. group: Keycloak Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: postgres_image_selector
  29. label: Postgres Image (CAUTION)
  30. description: |
  31. If you are changing this after the postgres directory has been initialized,</br>
  32. STOP! and make sure you have a backup of your data.</br>
  33. Changing this will trigger an one way database upgrade.</br>
  34. You can only select newer versions of postgres.</br>
  35. Selecting an older version will refuse to start.</br>
  36. If something goes wrong, you will have to restore from backup.
  37. schema:
  38. type: string
  39. default: postgres_17_image
  40. required: true
  41. enum:
  42. - value: postgres_17_image
  43. description: Postgres 17
  44. - variable: db_password
  45. label: Database Password
  46. schema:
  47. type: string
  48. default: ""
  49. required: true
  50. private: true
  51. - variable: hostname
  52. label: Hostname
  53. description: |
  54. Address at which is the server exposed.
  55. Can be a full URL, or just a hostname. When only hostname is provided,
  56. scheme, port and context path are resolved from the request.
  57. schema:
  58. type: uri
  59. default: ""
  60. required: true
  61. - variable: additional_envs
  62. label: Additional Environment Variables
  63. schema:
  64. type: list
  65. default: []
  66. items:
  67. - variable: env
  68. label: Environment Variable
  69. schema:
  70. type: dict
  71. attrs:
  72. - variable: name
  73. label: Name
  74. schema:
  75. type: string
  76. required: true
  77. - variable: value
  78. label: Value
  79. schema:
  80. type: string
  81. - variable: network
  82. label: ""
  83. group: Network Configuration
  84. schema:
  85. type: dict
  86. attrs:
  87. - variable: web_port
  88. label: WebUI Port
  89. schema:
  90. type: dict
  91. attrs:
  92. - variable: bind_mode
  93. label: Port Bind Mode
  94. description: |
  95. The port bind mode.</br>
  96. - Publish: The port will be published on the host for external access.</br>
  97. - Expose: The port will be exposed for inter-container communication.</br>
  98. - None: The port will not be exposed or published.</br>
  99. Note: If the Dockerfile defines an EXPOSE directive,
  100. the port will still be exposed for inter-container communication regardless of this setting.
  101. schema:
  102. type: string
  103. default: "published"
  104. enum:
  105. - value: "published"
  106. description: Publish port on the host for external access
  107. - value: "exposed"
  108. description: Expose port for inter-container communication
  109. - value: ""
  110. description: None
  111. - variable: port_number
  112. label: Port Number
  113. schema:
  114. type: int
  115. default: 30238
  116. min: 1
  117. max: 65535
  118. required: true
  119. - variable: host_ips
  120. label: Host IPs
  121. description: IPs on the host to bind this port
  122. schema:
  123. type: list
  124. show_if: [["bind_mode", "=", "published"]]
  125. default: []
  126. items:
  127. - variable: host_ip
  128. label: Host IP
  129. schema:
  130. type: string
  131. required: true
  132. $ref:
  133. - definitions/node_bind_ip
  134. - variable: certificate_id
  135. label: Certificate ID
  136. description: |
  137. The certificate to use for Keycloak </br>
  138. Using the Rocket method for TLS setup is NOT recommended </br>
  139. Prefer a reverse proxy with a valid certificate
  140. schema:
  141. type: int
  142. "null": true
  143. $ref:
  144. - definitions/certificate
  145. - variable: storage
  146. label: ""
  147. group: Storage Configuration
  148. schema:
  149. type: dict
  150. attrs:
  151. - variable: postgres_data
  152. label: Postgres Data Storage
  153. schema:
  154. type: dict
  155. attrs:
  156. - variable: type
  157. label: Type
  158. description: |
  159. ixVolume: Is dataset created automatically by the system.</br>
  160. Host Path: Is a path that already exists on the system.
  161. schema:
  162. type: string
  163. required: true
  164. default: "ix_volume"
  165. enum:
  166. - value: "host_path"
  167. description: Host Path (Path that already exists on the system)
  168. - value: "ix_volume"
  169. description: ixVolume (Dataset created automatically by the system)
  170. - variable: ix_volume_config
  171. label: ixVolume Configuration
  172. description: The configuration for the ixVolume dataset.
  173. schema:
  174. type: dict
  175. show_if: [["type", "=", "ix_volume"]]
  176. $ref:
  177. - "normalize/ix_volume"
  178. attrs:
  179. - variable: acl_enable
  180. label: Enable ACL
  181. description: Enable ACL for the storage.
  182. schema:
  183. type: boolean
  184. default: false
  185. - variable: dataset_name
  186. label: Dataset Name
  187. description: The name of the dataset to use for storage.
  188. schema:
  189. type: string
  190. required: true
  191. hidden: true
  192. default: "postgres_data"
  193. - variable: acl_entries
  194. label: ACL Configuration
  195. schema:
  196. type: dict
  197. show_if: [["acl_enable", "=", true]]
  198. attrs: []
  199. - variable: host_path_config
  200. label: Host Path Configuration
  201. schema:
  202. type: dict
  203. show_if: [["type", "=", "host_path"]]
  204. attrs:
  205. - variable: acl_enable
  206. label: Enable ACL
  207. description: Enable ACL for the storage.
  208. schema:
  209. type: boolean
  210. default: false
  211. - variable: acl
  212. label: ACL Configuration
  213. schema:
  214. type: dict
  215. show_if: [["acl_enable", "=", true]]
  216. attrs: []
  217. $ref:
  218. - "normalize/acl"
  219. - variable: path
  220. label: Host Path
  221. description: The host path to use for storage.
  222. schema:
  223. type: hostpath
  224. show_if: [["acl_enable", "=", false]]
  225. required: true
  226. - variable: auto_permissions
  227. label: Automatic Permissions
  228. description: |
  229. Automatically set permissions for the host path.
  230. Enabling this, will check the top level directory,</br>
  231. If it finds incorrect permissions, it will `chown` the
  232. host path to the user and group required for the
  233. postgres container.
  234. schema:
  235. type: boolean
  236. default: false
  237. show_if: [["acl_enable", "=", false]]
  238. - variable: additional_storage
  239. label: Additional Storage
  240. schema:
  241. type: list
  242. default: []
  243. items:
  244. - variable: storageEntry
  245. label: Storage Entry
  246. schema:
  247. type: dict
  248. attrs:
  249. - variable: type
  250. label: Type
  251. description: |
  252. ixVolume: Is dataset created automatically by the system.</br>
  253. Host Path: Is a path that already exists on the system.</br>
  254. SMB Share: Is a SMB share that is mounted to as a volume.
  255. schema:
  256. type: string
  257. required: true
  258. default: "ix_volume"
  259. enum:
  260. - value: "host_path"
  261. description: Host Path (Path that already exists on the system)
  262. - value: "ix_volume"
  263. description: ixVolume (Dataset created automatically by the system)
  264. - value: "cifs"
  265. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  266. - variable: read_only
  267. label: Read Only
  268. description: Mount the volume as read only.
  269. schema:
  270. type: boolean
  271. default: false
  272. - variable: mount_path
  273. label: Mount Path
  274. description: The path inside the container to mount the storage.
  275. schema:
  276. type: path
  277. required: true
  278. - variable: host_path_config
  279. label: Host Path Configuration
  280. schema:
  281. type: dict
  282. show_if: [["type", "=", "host_path"]]
  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: acl
  291. label: ACL Configuration
  292. schema:
  293. type: dict
  294. show_if: [["acl_enable", "=", true]]
  295. attrs: []
  296. $ref:
  297. - "normalize/acl"
  298. - variable: path
  299. label: Host Path
  300. description: The host path to use for storage.
  301. schema:
  302. type: hostpath
  303. show_if: [["acl_enable", "=", false]]
  304. required: true
  305. - variable: ix_volume_config
  306. label: ixVolume Configuration
  307. description: The configuration for the ixVolume dataset.
  308. schema:
  309. type: dict
  310. show_if: [["type", "=", "ix_volume"]]
  311. $ref:
  312. - "normalize/ix_volume"
  313. attrs:
  314. - variable: acl_enable
  315. label: Enable ACL
  316. description: Enable ACL for the storage.
  317. schema:
  318. type: boolean
  319. default: false
  320. - variable: dataset_name
  321. label: Dataset Name
  322. description: The name of the dataset to use for storage.
  323. schema:
  324. type: string
  325. required: true
  326. default: "storage_entry"
  327. - variable: acl_entries
  328. label: ACL Configuration
  329. schema:
  330. type: dict
  331. show_if: [["acl_enable", "=", true]]
  332. attrs: []
  333. $ref:
  334. - "normalize/acl"
  335. - variable: cifs_config
  336. label: SMB Configuration
  337. description: The configuration for the SMB dataset.
  338. schema:
  339. type: dict
  340. show_if: [["type", "=", "cifs"]]
  341. attrs:
  342. - variable: server
  343. label: Server
  344. description: The server to mount the SMB share.
  345. schema:
  346. type: string
  347. required: true
  348. - variable: path
  349. label: Path
  350. description: The path to mount the SMB share.
  351. schema:
  352. type: string
  353. required: true
  354. - variable: username
  355. label: Username
  356. description: The username to use for the SMB share.
  357. schema:
  358. type: string
  359. required: true
  360. - variable: password
  361. label: Password
  362. description: The password to use for the SMB share.
  363. schema:
  364. type: string
  365. required: true
  366. private: true
  367. - variable: domain
  368. label: Domain
  369. description: The domain to use for the SMB share.
  370. schema:
  371. type: string
  372. - variable: labels
  373. label: ""
  374. group: Labels Configuration
  375. schema:
  376. type: list
  377. default: []
  378. items:
  379. - variable: label
  380. label: Label
  381. schema:
  382. type: dict
  383. attrs:
  384. - variable: key
  385. label: Key
  386. schema:
  387. type: string
  388. required: true
  389. - variable: value
  390. label: Value
  391. schema:
  392. type: string
  393. required: true
  394. - variable: containers
  395. label: Containers
  396. description: Containers where the label should be applied
  397. schema:
  398. type: list
  399. items:
  400. - variable: container
  401. label: Container
  402. schema:
  403. type: string
  404. required: true
  405. enum:
  406. - value: keycloak
  407. description: keycloak
  408. - value: postgres
  409. description: postgres
  410. - variable: resources
  411. label: ""
  412. group: Resources Configuration
  413. schema:
  414. type: dict
  415. attrs:
  416. - variable: limits
  417. label: Limits
  418. schema:
  419. type: dict
  420. attrs:
  421. - variable: cpus
  422. label: CPUs
  423. description: CPUs limit for Keycloak.
  424. schema:
  425. type: int
  426. default: 2
  427. required: true
  428. - variable: memory
  429. label: Memory (in MB)
  430. description: Memory limit for Keycloak.
  431. schema:
  432. type: int
  433. default: 4096
  434. required: true