questions.yaml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  1. groups:
  2. - name: Wiki.js Configuration
  3. description: Configure Wiki.js
  4. - name: Network Configuration
  5. description: Configure Network for Wiki.js
  6. - name: Storage Configuration
  7. description: Configure Storage for Wiki.js
  8. - name: Labels Configuration
  9. description: Configure Labels for Wiki.js
  10. - name: Resources Configuration
  11. description: Configure Resources for Wiki.js
  12. questions:
  13. - variable: TZ
  14. group: Wiki.js Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: wiki_js
  23. label: ""
  24. group: Wiki.js 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 Wiki.js.
  47. schema:
  48. type: string
  49. default: ""
  50. required: true
  51. private: true
  52. - variable: additional_envs
  53. label: Additional Environment Variables
  54. schema:
  55. type: list
  56. default: []
  57. items:
  58. - variable: env
  59. label: Environment Variable
  60. schema:
  61. type: dict
  62. attrs:
  63. - variable: name
  64. label: Name
  65. schema:
  66. type: string
  67. required: true
  68. - variable: value
  69. label: Value
  70. schema:
  71. type: string
  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: 30244
  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: 30245
  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: certificate_id
  174. label: Certificate
  175. description: The certificate to use for Wiki.js.
  176. schema:
  177. type: int
  178. "null": true
  179. $ref:
  180. - "definitions/certificate"
  181. - variable: storage
  182. label: ""
  183. group: Storage Configuration
  184. schema:
  185. type: dict
  186. attrs:
  187. - variable: postgres_data
  188. label: Postgres Data Storage
  189. schema:
  190. type: dict
  191. attrs:
  192. - variable: type
  193. label: Type
  194. description: |
  195. ixVolume: Is dataset created automatically by the system.</br>
  196. Host Path: Is a path that already exists on the system.
  197. schema:
  198. type: string
  199. required: true
  200. default: "ix_volume"
  201. enum:
  202. - value: "host_path"
  203. description: Host Path (Path that already exists on the system)
  204. - value: "ix_volume"
  205. description: ixVolume (Dataset created automatically by the system)
  206. - variable: ix_volume_config
  207. label: ixVolume Configuration
  208. description: The configuration for the ixVolume dataset.
  209. schema:
  210. type: dict
  211. show_if: [["type", "=", "ix_volume"]]
  212. $ref:
  213. - "normalize/ix_volume"
  214. attrs:
  215. - variable: acl_enable
  216. label: Enable ACL
  217. description: Enable ACL for the storage.
  218. schema:
  219. type: boolean
  220. default: false
  221. - variable: dataset_name
  222. label: Dataset Name
  223. description: The name of the dataset to use for storage.
  224. schema:
  225. type: string
  226. required: true
  227. hidden: true
  228. default: "postgres_data"
  229. - variable: acl_entries
  230. label: ACL Configuration
  231. schema:
  232. type: dict
  233. show_if: [["acl_enable", "=", true]]
  234. attrs: []
  235. - variable: host_path_config
  236. label: Host Path Configuration
  237. schema:
  238. type: dict
  239. show_if: [["type", "=", "host_path"]]
  240. attrs:
  241. - variable: acl_enable
  242. label: Enable ACL
  243. description: Enable ACL for the storage.
  244. schema:
  245. type: boolean
  246. default: false
  247. - variable: acl
  248. label: ACL Configuration
  249. schema:
  250. type: dict
  251. show_if: [["acl_enable", "=", true]]
  252. attrs: []
  253. $ref:
  254. - "normalize/acl"
  255. - variable: path
  256. label: Host Path
  257. description: The host path to use for storage.
  258. schema:
  259. type: hostpath
  260. show_if: [["acl_enable", "=", false]]
  261. required: true
  262. - variable: auto_permissions
  263. label: Automatic Permissions
  264. description: |
  265. Automatically set permissions for the host path.
  266. Enabling this, will check the top level directory,</br>
  267. If it finds incorrect permissions, it will `chown` the
  268. host path to the user and group required for the
  269. postgres container.
  270. schema:
  271. type: boolean
  272. default: false
  273. show_if: [["acl_enable", "=", false]]
  274. - variable: additional_storage
  275. label: Additional Storage
  276. schema:
  277. type: list
  278. default: []
  279. items:
  280. - variable: storageEntry
  281. label: Storage Entry
  282. schema:
  283. type: dict
  284. attrs:
  285. - variable: type
  286. label: Type
  287. description: |
  288. ixVolume: Is dataset created automatically by the system.</br>
  289. Host Path: Is a path that already exists on the system.</br>
  290. SMB Share: Is a SMB share that is mounted to as a volume.
  291. schema:
  292. type: string
  293. required: true
  294. default: "ix_volume"
  295. enum:
  296. - value: "host_path"
  297. description: Host Path (Path that already exists on the system)
  298. - value: "ix_volume"
  299. description: ixVolume (Dataset created automatically by the system)
  300. - value: "cifs"
  301. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  302. - variable: read_only
  303. label: Read Only
  304. description: Mount the volume as read only.
  305. schema:
  306. type: boolean
  307. default: false
  308. - variable: mount_path
  309. label: Mount Path
  310. description: The path inside the container to mount the storage.
  311. schema:
  312. type: path
  313. required: true
  314. - variable: host_path_config
  315. label: Host Path Configuration
  316. schema:
  317. type: dict
  318. show_if: [["type", "=", "host_path"]]
  319. attrs:
  320. - variable: acl_enable
  321. label: Enable ACL
  322. description: Enable ACL for the storage.
  323. schema:
  324. type: boolean
  325. default: false
  326. - variable: acl
  327. label: ACL Configuration
  328. schema:
  329. type: dict
  330. show_if: [["acl_enable", "=", true]]
  331. attrs: []
  332. $ref:
  333. - "normalize/acl"
  334. - variable: path
  335. label: Host Path
  336. description: The host path to use for storage.
  337. schema:
  338. type: hostpath
  339. show_if: [["acl_enable", "=", false]]
  340. required: true
  341. - variable: ix_volume_config
  342. label: ixVolume Configuration
  343. description: The configuration for the ixVolume dataset.
  344. schema:
  345. type: dict
  346. show_if: [["type", "=", "ix_volume"]]
  347. $ref:
  348. - "normalize/ix_volume"
  349. attrs:
  350. - variable: acl_enable
  351. label: Enable ACL
  352. description: Enable ACL for the storage.
  353. schema:
  354. type: boolean
  355. default: false
  356. - variable: dataset_name
  357. label: Dataset Name
  358. description: The name of the dataset to use for storage.
  359. schema:
  360. type: string
  361. required: true
  362. default: "storage_entry"
  363. - variable: acl_entries
  364. label: ACL Configuration
  365. schema:
  366. type: dict
  367. show_if: [["acl_enable", "=", true]]
  368. attrs: []
  369. $ref:
  370. - "normalize/acl"
  371. - variable: cifs_config
  372. label: SMB Configuration
  373. description: The configuration for the SMB dataset.
  374. schema:
  375. type: dict
  376. show_if: [["type", "=", "cifs"]]
  377. attrs:
  378. - variable: server
  379. label: Server
  380. description: The server to mount the SMB share.
  381. schema:
  382. type: string
  383. required: true
  384. - variable: path
  385. label: Path
  386. description: The path to mount the SMB share.
  387. schema:
  388. type: string
  389. required: true
  390. - variable: username
  391. label: Username
  392. description: The username to use for the SMB share.
  393. schema:
  394. type: string
  395. required: true
  396. - variable: password
  397. label: Password
  398. description: The password to use for the SMB share.
  399. schema:
  400. type: string
  401. required: true
  402. private: true
  403. - variable: domain
  404. label: Domain
  405. description: The domain to use for the SMB share.
  406. schema:
  407. type: string
  408. - variable: labels
  409. label: ""
  410. group: Labels Configuration
  411. schema:
  412. type: list
  413. default: []
  414. items:
  415. - variable: label
  416. label: Label
  417. schema:
  418. type: dict
  419. attrs:
  420. - variable: key
  421. label: Key
  422. schema:
  423. type: string
  424. required: true
  425. - variable: value
  426. label: Value
  427. schema:
  428. type: string
  429. required: true
  430. - variable: containers
  431. label: Containers
  432. description: Containers where the label should be applied
  433. schema:
  434. type: list
  435. items:
  436. - variable: container
  437. label: Container
  438. schema:
  439. type: string
  440. required: true
  441. enum:
  442. - value: wiki-js
  443. description: wiki-js
  444. - value: postgres
  445. description: postgres
  446. - variable: resources
  447. label: ""
  448. group: Resources Configuration
  449. schema:
  450. type: dict
  451. attrs:
  452. - variable: limits
  453. label: Limits
  454. schema:
  455. type: dict
  456. attrs:
  457. - variable: cpus
  458. label: CPUs
  459. description: CPUs limit for Wiki.js.
  460. schema:
  461. type: int
  462. default: 2
  463. required: true
  464. - variable: memory
  465. label: Memory (in MB)
  466. description: Memory limit for Wiki.js.
  467. schema:
  468. type: int
  469. default: 4096
  470. required: true