questions.yaml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519
  1. groups:
  2. - name: Baserow Configuration
  3. description: Configure Baserow
  4. - name: Network Configuration
  5. description: Configure Network for Baserow
  6. - name: Storage Configuration
  7. description: Configure Storage for Baserow
  8. - name: Labels Configuration
  9. description: Configure Labels for Baserow
  10. - name: Resources Configuration
  11. description: Configure Resources for Baserow
  12. questions:
  13. - variable: TZ
  14. group: Baserow Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: baserow
  23. label: ""
  24. group: Baserow 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. description: The password for Authelia.
  47. schema:
  48. type: string
  49. default: ""
  50. required: true
  51. private: true
  52. - variable: redis_password
  53. label: Redis Password
  54. description: The password for Redis.
  55. schema:
  56. type: string
  57. default: ""
  58. required: true
  59. private: true
  60. - variable: secret_key
  61. label: Secret Key
  62. description: The secret
  63. schema:
  64. type: string
  65. default: ""
  66. required: true
  67. - variable: public_url
  68. label: Public URL (Optional, Used for External Access)
  69. description: The public URL for Baserow
  70. schema:
  71. type: string
  72. default: ""
  73. - variable: additional_envs
  74. label: Additional Environment Variables
  75. schema:
  76. type: list
  77. default: []
  78. items:
  79. - variable: env
  80. label: Environment Variable
  81. schema:
  82. type: dict
  83. attrs:
  84. - variable: name
  85. label: Name
  86. schema:
  87. type: string
  88. required: true
  89. - variable: value
  90. label: Value
  91. schema:
  92. type: string
  93. - variable: network
  94. label: ""
  95. group: Network Configuration
  96. schema:
  97. type: dict
  98. attrs:
  99. - variable: web_port
  100. label: WebUI Port
  101. schema:
  102. type: dict
  103. attrs:
  104. - variable: bind_mode
  105. label: Port Bind Mode
  106. description: |
  107. The port bind mode.</br>
  108. - Publish: The port will be published on the host for external access.</br>
  109. - Expose: The port will be exposed for inter-container communication.</br>
  110. - None: The port will not be exposed or published.</br>
  111. Note: If the Dockerfile defines an EXPOSE directive,
  112. the port will still be exposed for inter-container communication regardless of this setting.
  113. schema:
  114. type: string
  115. default: "published"
  116. enum:
  117. - value: "published"
  118. description: Publish port on the host for external access
  119. - value: "exposed"
  120. description: Expose port for inter-container communication
  121. - value: ""
  122. description: None
  123. - variable: port_number
  124. label: Port Number
  125. schema:
  126. type: int
  127. default: 30163
  128. show_if: [["bind_mode", "=", "published"]]
  129. min: 1
  130. max: 65535
  131. required: true
  132. - variable: host_ips
  133. label: Host IPs
  134. description: IPs on the host to bind this port
  135. schema:
  136. type: list
  137. show_if: [["bind_mode", "=", "published"]]
  138. default: []
  139. items:
  140. - variable: host_ip
  141. label: Host IP
  142. schema:
  143. type: string
  144. required: true
  145. $ref:
  146. - definitions/node_bind_ip
  147. - variable: storage
  148. label: ""
  149. group: Storage Configuration
  150. schema:
  151. type: dict
  152. attrs:
  153. - variable: data
  154. label: Baserow Data Storage
  155. description: The path to store Baserow Data.
  156. schema:
  157. type: dict
  158. attrs:
  159. - variable: type
  160. label: Type
  161. description: |
  162. ixVolume: Is dataset created automatically by the system.</br>
  163. Host Path: Is a path that already exists on the system.
  164. schema:
  165. type: string
  166. required: true
  167. default: "ix_volume"
  168. enum:
  169. - value: "host_path"
  170. description: Host Path (Path that already exists on the system)
  171. - value: "ix_volume"
  172. description: ixVolume (Dataset created automatically by the system)
  173. - variable: ix_volume_config
  174. label: ixVolume Configuration
  175. description: The configuration for the ixVolume dataset.
  176. schema:
  177. type: dict
  178. show_if: [["type", "=", "ix_volume"]]
  179. $ref:
  180. - "normalize/ix_volume"
  181. attrs:
  182. - variable: acl_enable
  183. label: Enable ACL
  184. description: Enable ACL for the storage.
  185. schema:
  186. type: boolean
  187. default: false
  188. - variable: dataset_name
  189. label: Dataset Name
  190. description: The name of the dataset to use for storage.
  191. schema:
  192. type: string
  193. required: true
  194. hidden: true
  195. default: "data"
  196. - variable: acl_entries
  197. label: ACL Configuration
  198. schema:
  199. type: dict
  200. show_if: [["acl_enable", "=", true]]
  201. attrs: []
  202. - variable: host_path_config
  203. label: Host Path Configuration
  204. schema:
  205. type: dict
  206. show_if: [["type", "=", "host_path"]]
  207. attrs:
  208. - variable: acl_enable
  209. label: Enable ACL
  210. description: Enable ACL for the storage.
  211. schema:
  212. type: boolean
  213. default: false
  214. - variable: acl
  215. label: ACL Configuration
  216. schema:
  217. type: dict
  218. show_if: [["acl_enable", "=", true]]
  219. attrs: []
  220. $ref:
  221. - "normalize/acl"
  222. - variable: path
  223. label: Host Path
  224. description: The host path to use for storage.
  225. schema:
  226. type: hostpath
  227. show_if: [["acl_enable", "=", false]]
  228. required: true
  229. - variable: postgres_data
  230. label: Postgres Data Storage
  231. description: The path to store Postgres Data.
  232. schema:
  233. type: dict
  234. attrs:
  235. - variable: type
  236. label: Type
  237. description: |
  238. ixVolume: Is dataset created automatically by the system.</br>
  239. Host Path: Is a path that already exists on the system.
  240. schema:
  241. type: string
  242. required: true
  243. default: "ix_volume"
  244. enum:
  245. - value: "host_path"
  246. description: Host Path (Path that already exists on the system)
  247. - value: "ix_volume"
  248. description: ixVolume (Dataset created automatically by the system)
  249. - variable: ix_volume_config
  250. label: ixVolume Configuration
  251. description: The configuration for the ixVolume dataset.
  252. schema:
  253. type: dict
  254. show_if: [["type", "=", "ix_volume"]]
  255. $ref:
  256. - "normalize/ix_volume"
  257. attrs:
  258. - variable: acl_enable
  259. label: Enable ACL
  260. description: Enable ACL for the storage.
  261. schema:
  262. type: boolean
  263. default: false
  264. - variable: dataset_name
  265. label: Dataset Name
  266. description: The name of the dataset to use for storage.
  267. schema:
  268. type: string
  269. required: true
  270. hidden: true
  271. default: "postgres_data"
  272. - variable: acl_entries
  273. label: ACL Configuration
  274. schema:
  275. type: dict
  276. show_if: [["acl_enable", "=", true]]
  277. attrs: []
  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: auto_permissions
  306. label: Automatic Permissions
  307. description: |
  308. Automatically set permissions for the host path.
  309. Enabling this, will check the top level directory,</br>
  310. If it finds incorrect permissions, it will `chown` the
  311. host path to the user and group required for the
  312. postgres container.
  313. schema:
  314. type: boolean
  315. default: false
  316. show_if: [["acl_enable", "=", false]]
  317. - variable: additional_storage
  318. label: Additional Storage
  319. schema:
  320. type: list
  321. default: []
  322. items:
  323. - variable: storageEntry
  324. label: Storage Entry
  325. schema:
  326. type: dict
  327. attrs:
  328. - variable: type
  329. label: Type
  330. description: |
  331. ixVolume: Is dataset created automatically by the system.</br>
  332. Host Path: Is a path that already exists on the system.</br>
  333. SMB Share: Is a SMB share that is mounted to as a volume.
  334. schema:
  335. type: string
  336. required: true
  337. default: "ix_volume"
  338. enum:
  339. - value: "host_path"
  340. description: Host Path (Path that already exists on the system)
  341. - value: "ix_volume"
  342. description: ixVolume (Dataset created automatically by the system)
  343. - value: "cifs"
  344. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  345. - variable: read_only
  346. label: Read Only
  347. description: Mount the volume as read only.
  348. schema:
  349. type: boolean
  350. default: false
  351. - variable: mount_path
  352. label: Mount Path
  353. description: The path inside the container to mount the storage.
  354. schema:
  355. type: path
  356. required: true
  357. - variable: host_path_config
  358. label: Host Path Configuration
  359. schema:
  360. type: dict
  361. show_if: [["type", "=", "host_path"]]
  362. attrs:
  363. - variable: acl_enable
  364. label: Enable ACL
  365. description: Enable ACL for the storage.
  366. schema:
  367. type: boolean
  368. default: false
  369. - variable: acl
  370. label: ACL Configuration
  371. schema:
  372. type: dict
  373. show_if: [["acl_enable", "=", true]]
  374. attrs: []
  375. $ref:
  376. - "normalize/acl"
  377. - variable: path
  378. label: Host Path
  379. description: The host path to use for storage.
  380. schema:
  381. type: hostpath
  382. show_if: [["acl_enable", "=", false]]
  383. required: true
  384. - variable: ix_volume_config
  385. label: ixVolume Configuration
  386. description: The configuration for the ixVolume dataset.
  387. schema:
  388. type: dict
  389. show_if: [["type", "=", "ix_volume"]]
  390. $ref:
  391. - "normalize/ix_volume"
  392. attrs:
  393. - variable: acl_enable
  394. label: Enable ACL
  395. description: Enable ACL for the storage.
  396. schema:
  397. type: boolean
  398. default: false
  399. - variable: dataset_name
  400. label: Dataset Name
  401. description: The name of the dataset to use for storage.
  402. schema:
  403. type: string
  404. required: true
  405. default: "storage_entry"
  406. - variable: acl_entries
  407. label: ACL Configuration
  408. schema:
  409. type: dict
  410. show_if: [["acl_enable", "=", true]]
  411. attrs: []
  412. $ref:
  413. - "normalize/acl"
  414. - variable: cifs_config
  415. label: SMB Configuration
  416. description: The configuration for the SMB dataset.
  417. schema:
  418. type: dict
  419. show_if: [["type", "=", "cifs"]]
  420. attrs:
  421. - variable: server
  422. label: Server
  423. description: The server to mount the SMB share.
  424. schema:
  425. type: string
  426. required: true
  427. - variable: path
  428. label: Path
  429. description: The path to mount the SMB share.
  430. schema:
  431. type: string
  432. required: true
  433. - variable: username
  434. label: Username
  435. description: The username to use for the SMB share.
  436. schema:
  437. type: string
  438. required: true
  439. - variable: password
  440. label: Password
  441. description: The password to use for the SMB share.
  442. schema:
  443. type: string
  444. required: true
  445. private: true
  446. - variable: domain
  447. label: Domain
  448. description: The domain to use for the SMB share.
  449. schema:
  450. type: string
  451. - variable: labels
  452. label: ""
  453. group: Labels Configuration
  454. schema:
  455. type: list
  456. default: []
  457. items:
  458. - variable: label
  459. label: Label
  460. schema:
  461. type: dict
  462. attrs:
  463. - variable: key
  464. label: Key
  465. schema:
  466. type: string
  467. required: true
  468. - variable: value
  469. label: Value
  470. schema:
  471. type: string
  472. required: true
  473. - variable: containers
  474. label: Containers
  475. description: Containers where the label should be applied
  476. schema:
  477. type: list
  478. items:
  479. - variable: container
  480. label: Container
  481. schema:
  482. type: string
  483. required: true
  484. enum:
  485. - value: baserow
  486. description: baserow
  487. - value: postgres
  488. description: postgres
  489. - value: redis
  490. description: redis
  491. - variable: resources
  492. label: ""
  493. group: Resources Configuration
  494. schema:
  495. type: dict
  496. attrs:
  497. - variable: limits
  498. label: Limits
  499. schema:
  500. type: dict
  501. attrs:
  502. - variable: cpus
  503. label: CPUs
  504. description: CPUs limit for Baserow.
  505. schema:
  506. type: int
  507. default: 2
  508. required: true
  509. - variable: memory
  510. label: Memory (in MB)
  511. description: Memory limit for Baserow.
  512. schema:
  513. type: int
  514. default: 4096
  515. required: true