questions.yaml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570
  1. groups:
  2. - name: Bookstack Configuration
  3. description: Configure Bookstack
  4. - name: Network Configuration
  5. description: Configure Network for Bookstack
  6. - name: Storage Configuration
  7. description: Configure Storage for Bookstack
  8. - name: Labels Configuration
  9. description: Configure Labels for Bookstack
  10. - name: Resources Configuration
  11. description: Configure Resources for Bookstack
  12. questions:
  13. - variable: TZ
  14. group: Bookstack Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: bookstack
  23. label: ""
  24. group: Bookstack Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: db_password
  29. label: Database Password
  30. description: The database password for Bookstack.
  31. schema:
  32. type: string
  33. default: ""
  34. required: true
  35. private: true
  36. - variable: db_root_password
  37. label: Root Database Password
  38. description: The root database password for Bookstack.
  39. schema:
  40. type: string
  41. default: ""
  42. required: true
  43. private: true
  44. - variable: app_url
  45. label: App URL
  46. description: |
  47. The URI for Bookstack</br>
  48. For example: http://example.com</br>
  49. If using a proxy, specify the protocol used to connect to the proxy
  50. schema:
  51. type: string
  52. required: true
  53. - variable: app_key
  54. label: App Key
  55. description: |
  56. The app key for Bookstack.</br>
  57. Must be exactly 32 characters long.</br>
  58. schema:
  59. type: string
  60. min_length: 32
  61. max_length: 32
  62. default: ""
  63. required: true
  64. private: true
  65. - variable: additional_envs
  66. label: Additional Environment Variables
  67. schema:
  68. type: list
  69. default: []
  70. items:
  71. - variable: env
  72. label: Environment Variable
  73. schema:
  74. type: dict
  75. attrs:
  76. - variable: name
  77. label: Name
  78. schema:
  79. type: string
  80. required: true
  81. - variable: value
  82. label: Value
  83. schema:
  84. type: string
  85. - variable: network
  86. label: ""
  87. group: Network Configuration
  88. schema:
  89. type: dict
  90. attrs:
  91. - variable: web_port
  92. label: WebUI Port
  93. schema:
  94. type: dict
  95. attrs:
  96. - variable: bind_mode
  97. label: Port Bind Mode
  98. description: |
  99. The port bind mode.</br>
  100. - Publish: The port will be published on the host for external access.</br>
  101. - Expose: The port will be exposed for inter-container communication.</br>
  102. - None: The port will not be exposed or published.</br>
  103. Note: If the Dockerfile defines an EXPOSE directive,
  104. the port will still be exposed for inter-container communication regardless of this setting.
  105. schema:
  106. type: string
  107. default: "published"
  108. enum:
  109. - value: "published"
  110. description: Publish port on the host for external access
  111. - value: "exposed"
  112. description: Expose port for inter-container communication
  113. - value: ""
  114. description: None
  115. - variable: port_number
  116. label: Port Number
  117. schema:
  118. type: int
  119. default: 30214
  120. show_if: [["bind_mode", "=", "published"]]
  121. min: 1
  122. max: 65535
  123. required: true
  124. - variable: host_ips
  125. label: Host IPs
  126. description: IPs on the host to bind this port
  127. schema:
  128. type: list
  129. show_if: [["bind_mode", "=", "published"]]
  130. default: []
  131. items:
  132. - variable: host_ip
  133. label: Host IP
  134. schema:
  135. type: string
  136. required: true
  137. $ref:
  138. - definitions/node_bind_ip
  139. - variable: storage
  140. label: ""
  141. group: Storage Configuration
  142. schema:
  143. type: dict
  144. attrs:
  145. - variable: uploads
  146. label: Public Uploads Storage
  147. schema:
  148. type: dict
  149. attrs:
  150. - variable: type
  151. label: Type
  152. description: |
  153. ixVolume: Is dataset created automatically by the system.</br>
  154. Host Path: Is a path that already exists on the system.
  155. schema:
  156. type: string
  157. required: true
  158. default: "ix_volume"
  159. enum:
  160. - value: "host_path"
  161. description: Host Path (Path that already exists on the system)
  162. - value: "ix_volume"
  163. description: ixVolume (Dataset created automatically by the system)
  164. - variable: ix_volume_config
  165. label: ixVolume Configuration
  166. description: The configuration for the ixVolume dataset.
  167. schema:
  168. type: dict
  169. show_if: [["type", "=", "ix_volume"]]
  170. $ref:
  171. - "normalize/ix_volume"
  172. attrs:
  173. - variable: acl_enable
  174. label: Enable ACL
  175. description: Enable ACL for the storage.
  176. schema:
  177. type: boolean
  178. default: false
  179. - variable: dataset_name
  180. label: Dataset Name
  181. description: The name of the dataset to use for storage.
  182. schema:
  183. type: string
  184. required: true
  185. hidden: true
  186. default: "uploads"
  187. - variable: acl_entries
  188. label: ACL Configuration
  189. schema:
  190. type: dict
  191. show_if: [["acl_enable", "=", true]]
  192. attrs: []
  193. - variable: host_path_config
  194. label: Host Path Configuration
  195. schema:
  196. type: dict
  197. show_if: [["type", "=", "host_path"]]
  198. attrs:
  199. - variable: acl_enable
  200. label: Enable ACL
  201. description: Enable ACL for the storage.
  202. schema:
  203. type: boolean
  204. default: false
  205. - variable: acl
  206. label: ACL Configuration
  207. schema:
  208. type: dict
  209. show_if: [["acl_enable", "=", true]]
  210. attrs: []
  211. $ref:
  212. - "normalize/acl"
  213. - variable: path
  214. label: Host Path
  215. description: The host path to use for storage.
  216. schema:
  217. type: hostpath
  218. show_if: [["acl_enable", "=", false]]
  219. required: true
  220. - variable: storage_uploads
  221. label: Uploads Storage
  222. schema:
  223. type: dict
  224. attrs:
  225. - variable: type
  226. label: Type
  227. description: |
  228. ixVolume: Is dataset created automatically by the system.</br>
  229. Host Path: Is a path that already exists on the system.
  230. schema:
  231. type: string
  232. required: true
  233. default: "ix_volume"
  234. enum:
  235. - value: "host_path"
  236. description: Host Path (Path that already exists on the system)
  237. - value: "ix_volume"
  238. description: ixVolume (Dataset created automatically by the system)
  239. - variable: ix_volume_config
  240. label: ixVolume Configuration
  241. description: The configuration for the ixVolume dataset.
  242. schema:
  243. type: dict
  244. show_if: [["type", "=", "ix_volume"]]
  245. $ref:
  246. - "normalize/ix_volume"
  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: dataset_name
  255. label: Dataset Name
  256. description: The name of the dataset to use for storage.
  257. schema:
  258. type: string
  259. required: true
  260. hidden: true
  261. default: "storage_uploads"
  262. - variable: acl_entries
  263. label: ACL Configuration
  264. schema:
  265. type: dict
  266. show_if: [["acl_enable", "=", true]]
  267. attrs: []
  268. - variable: host_path_config
  269. label: Host Path Configuration
  270. schema:
  271. type: dict
  272. show_if: [["type", "=", "host_path"]]
  273. attrs:
  274. - variable: acl_enable
  275. label: Enable ACL
  276. description: Enable ACL for the storage.
  277. schema:
  278. type: boolean
  279. default: false
  280. - variable: acl
  281. label: ACL Configuration
  282. schema:
  283. type: dict
  284. show_if: [["acl_enable", "=", true]]
  285. attrs: []
  286. $ref:
  287. - "normalize/acl"
  288. - variable: path
  289. label: Host Path
  290. description: The host path to use for storage.
  291. schema:
  292. type: hostpath
  293. show_if: [["acl_enable", "=", false]]
  294. required: true
  295. - variable: mariadb_data
  296. label: Database Storage
  297. schema:
  298. type: dict
  299. attrs:
  300. - variable: type
  301. label: Type
  302. description: |
  303. ixVolume: Is dataset created automatically by the system.</br>
  304. Host Path: Is a path that already exists on the system.
  305. schema:
  306. type: string
  307. required: true
  308. default: "ix_volume"
  309. enum:
  310. - value: "host_path"
  311. description: Host Path (Path that already exists on the system)
  312. - value: "ix_volume"
  313. description: ixVolume (Dataset created automatically by the system)
  314. - variable: ix_volume_config
  315. label: ixVolume Configuration
  316. description: The configuration for the ixVolume dataset.
  317. schema:
  318. type: dict
  319. show_if: [["type", "=", "ix_volume"]]
  320. $ref:
  321. - "normalize/ix_volume"
  322. attrs:
  323. - variable: acl_enable
  324. label: Enable ACL
  325. description: Enable ACL for the storage.
  326. schema:
  327. type: boolean
  328. default: false
  329. - variable: dataset_name
  330. label: Dataset Name
  331. description: The name of the dataset to use for storage.
  332. schema:
  333. type: string
  334. required: true
  335. hidden: true
  336. default: "mariadb_data"
  337. - variable: acl_entries
  338. label: ACL Configuration
  339. schema:
  340. type: dict
  341. show_if: [["acl_enable", "=", true]]
  342. attrs: []
  343. - variable: host_path_config
  344. label: Host Path Configuration
  345. schema:
  346. type: dict
  347. show_if: [["type", "=", "host_path"]]
  348. attrs:
  349. - variable: acl_enable
  350. label: Enable ACL
  351. description: Enable ACL for the storage.
  352. schema:
  353. type: boolean
  354. default: false
  355. - variable: acl
  356. label: ACL Configuration
  357. schema:
  358. type: dict
  359. show_if: [["acl_enable", "=", true]]
  360. attrs: []
  361. $ref:
  362. - "normalize/acl"
  363. - variable: path
  364. label: Host Path
  365. description: The host path to use for storage.
  366. schema:
  367. type: hostpath
  368. show_if: [["acl_enable", "=", false]]
  369. required: true
  370. - variable: additional_storage
  371. label: Additional Storage
  372. schema:
  373. type: list
  374. default: []
  375. items:
  376. - variable: storageEntry
  377. label: Storage Entry
  378. schema:
  379. type: dict
  380. attrs:
  381. - variable: type
  382. label: Type
  383. description: |
  384. ixVolume: Is dataset created automatically by the system.</br>
  385. Host Path: Is a path that already exists on the system.</br>
  386. SMB Share: Is a SMB share that is mounted to as a volume.
  387. schema:
  388. type: string
  389. required: true
  390. default: "ix_volume"
  391. enum:
  392. - value: "host_path"
  393. description: Host Path (Path that already exists on the system)
  394. - value: "ix_volume"
  395. description: ixVolume (Dataset created automatically by the system)
  396. - value: "cifs"
  397. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  398. - variable: read_only
  399. label: Read Only
  400. description: Mount the volume as read only.
  401. schema:
  402. type: boolean
  403. default: false
  404. - variable: mount_path
  405. label: Mount Path
  406. description: The path inside the container to mount the storage.
  407. schema:
  408. type: path
  409. required: true
  410. - variable: host_path_config
  411. label: Host Path Configuration
  412. schema:
  413. type: dict
  414. show_if: [["type", "=", "host_path"]]
  415. attrs:
  416. - variable: acl_enable
  417. label: Enable ACL
  418. description: Enable ACL for the storage.
  419. schema:
  420. type: boolean
  421. default: false
  422. - variable: acl
  423. label: ACL Configuration
  424. schema:
  425. type: dict
  426. show_if: [["acl_enable", "=", true]]
  427. attrs: []
  428. $ref:
  429. - "normalize/acl"
  430. - variable: path
  431. label: Host Path
  432. description: The host path to use for storage.
  433. schema:
  434. type: hostpath
  435. show_if: [["acl_enable", "=", false]]
  436. required: true
  437. - variable: ix_volume_config
  438. label: ixVolume Configuration
  439. description: The configuration for the ixVolume dataset.
  440. schema:
  441. type: dict
  442. show_if: [["type", "=", "ix_volume"]]
  443. $ref:
  444. - "normalize/ix_volume"
  445. attrs:
  446. - variable: acl_enable
  447. label: Enable ACL
  448. description: Enable ACL for the storage.
  449. schema:
  450. type: boolean
  451. default: false
  452. - variable: dataset_name
  453. label: Dataset Name
  454. description: The name of the dataset to use for storage.
  455. schema:
  456. type: string
  457. required: true
  458. default: "storage_entry"
  459. - variable: acl_entries
  460. label: ACL Configuration
  461. schema:
  462. type: dict
  463. show_if: [["acl_enable", "=", true]]
  464. attrs: []
  465. $ref:
  466. - "normalize/acl"
  467. - variable: cifs_config
  468. label: SMB Configuration
  469. description: The configuration for the SMB dataset.
  470. schema:
  471. type: dict
  472. show_if: [["type", "=", "cifs"]]
  473. attrs:
  474. - variable: server
  475. label: Server
  476. description: The server to mount the SMB share.
  477. schema:
  478. type: string
  479. required: true
  480. - variable: path
  481. label: Path
  482. description: The path to mount the SMB share.
  483. schema:
  484. type: string
  485. required: true
  486. - variable: username
  487. label: Username
  488. description: The username to use for the SMB share.
  489. schema:
  490. type: string
  491. required: true
  492. - variable: password
  493. label: Password
  494. description: The password to use for the SMB share.
  495. schema:
  496. type: string
  497. required: true
  498. private: true
  499. - variable: domain
  500. label: Domain
  501. description: The domain to use for the SMB share.
  502. schema:
  503. type: string
  504. - variable: labels
  505. label: ""
  506. group: Labels Configuration
  507. schema:
  508. type: list
  509. default: []
  510. items:
  511. - variable: label
  512. label: Label
  513. schema:
  514. type: dict
  515. attrs:
  516. - variable: key
  517. label: Key
  518. schema:
  519. type: string
  520. required: true
  521. - variable: value
  522. label: Value
  523. schema:
  524. type: string
  525. required: true
  526. - variable: containers
  527. label: Containers
  528. description: Containers where the label should be applied
  529. schema:
  530. type: list
  531. items:
  532. - variable: container
  533. label: Container
  534. schema:
  535. type: string
  536. required: true
  537. enum:
  538. - value: bookstack
  539. description: bookstack
  540. - value: mariadb
  541. description: mariadb
  542. - variable: resources
  543. label: ""
  544. group: Resources Configuration
  545. schema:
  546. type: dict
  547. attrs:
  548. - variable: limits
  549. label: Limits
  550. schema:
  551. type: dict
  552. attrs:
  553. - variable: cpus
  554. label: CPUs
  555. description: CPUs limit for Bookstack.
  556. schema:
  557. type: int
  558. default: 2
  559. required: true
  560. - variable: memory
  561. label: Memory (in MB)
  562. description: Memory limit for Bookstack.
  563. schema:
  564. type: int
  565. default: 4096
  566. required: true