questions.yaml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583
  1. groups:
  2. - name: Linkwarden Configuration
  3. description: Configure Linkwarden
  4. - name: Network Configuration
  5. description: Configure Network for Linkwarden
  6. - name: Storage Configuration
  7. description: Configure Storage for Linkwarden
  8. - name: Labels Configuration
  9. description: Configure Labels for Linkwarden
  10. - name: Resources Configuration
  11. description: Configure Resources for Linkwarden
  12. questions:
  13. - variable: TZ
  14. group: Linkwarden Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: linkwarden
  23. label: ""
  24. group: Linkwarden 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 Linkwarden.
  47. schema:
  48. type: string
  49. default: ""
  50. private: true
  51. required: true
  52. - variable: nextauth_secret
  53. label: NextAuth Secret
  54. schema:
  55. type: string
  56. default: ""
  57. required: true
  58. private: true
  59. - variable: meilisearch_master_key
  60. label: Meilisearch Master Key
  61. schema:
  62. type: string
  63. default: ""
  64. required: true
  65. private: true
  66. - variable: additional_envs
  67. label: Additional Environment Variables
  68. schema:
  69. type: list
  70. default: []
  71. items:
  72. - variable: env
  73. label: Environment Variable
  74. schema:
  75. type: dict
  76. attrs:
  77. - variable: name
  78. label: Name
  79. schema:
  80. type: string
  81. required: true
  82. - variable: value
  83. label: Value
  84. schema:
  85. type: string
  86. - variable: network
  87. label: ""
  88. group: Network Configuration
  89. schema:
  90. type: dict
  91. attrs:
  92. - variable: web_port
  93. label: WebUI Port
  94. schema:
  95. type: dict
  96. attrs:
  97. - variable: bind_mode
  98. label: Port Bind Mode
  99. description: |
  100. The port bind mode.</br>
  101. - Publish: The port will be published on the host for external access.</br>
  102. - Expose: The port will be exposed for inter-container communication.</br>
  103. - None: The port will not be exposed or published.</br>
  104. Note: If the Dockerfile defines an EXPOSE directive,
  105. the port will still be exposed for inter-container communication regardless of this setting.
  106. schema:
  107. type: string
  108. default: "published"
  109. enum:
  110. - value: "published"
  111. description: Publish port on the host for external access
  112. - value: "exposed"
  113. description: Expose port for inter-container communication
  114. - value: ""
  115. description: None
  116. - variable: port_number
  117. label: Port Number
  118. schema:
  119. type: int
  120. default: 30243
  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: data
  146. label: Data 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: "data"
  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: meili_data
  221. label: Meilisearch Data 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: "meili_data"
  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: postgres_data
  296. label: Postgres Data 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: "postgres_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: auto_permissions
  371. label: Automatic Permissions
  372. description: |
  373. Automatically set permissions for the host path.
  374. Enabling this, will check the top level directory,</br>
  375. If it finds incorrect permissions, it will `chown` the
  376. host path to the user and group required for the
  377. postgres container.
  378. schema:
  379. type: boolean
  380. default: false
  381. show_if: [["acl_enable", "=", false]]
  382. - variable: additional_storage
  383. label: Additional Storage
  384. schema:
  385. type: list
  386. default: []
  387. items:
  388. - variable: storageEntry
  389. label: Storage Entry
  390. schema:
  391. type: dict
  392. attrs:
  393. - variable: type
  394. label: Type
  395. description: |
  396. ixVolume: Is dataset created automatically by the system.</br>
  397. Host Path: Is a path that already exists on the system.</br>
  398. SMB Share: Is a SMB share that is mounted to as a volume.
  399. schema:
  400. type: string
  401. required: true
  402. default: "ix_volume"
  403. enum:
  404. - value: "host_path"
  405. description: Host Path (Path that already exists on the system)
  406. - value: "ix_volume"
  407. description: ixVolume (Dataset created automatically by the system)
  408. - value: "cifs"
  409. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  410. - variable: read_only
  411. label: Read Only
  412. description: Mount the volume as read only.
  413. schema:
  414. type: boolean
  415. default: false
  416. - variable: mount_path
  417. label: Mount Path
  418. description: The path inside the container to mount the storage.
  419. schema:
  420. type: path
  421. required: true
  422. - variable: host_path_config
  423. label: Host Path Configuration
  424. schema:
  425. type: dict
  426. show_if: [["type", "=", "host_path"]]
  427. attrs:
  428. - variable: acl_enable
  429. label: Enable ACL
  430. description: Enable ACL for the storage.
  431. schema:
  432. type: boolean
  433. default: false
  434. - variable: acl
  435. label: ACL Configuration
  436. schema:
  437. type: dict
  438. show_if: [["acl_enable", "=", true]]
  439. attrs: []
  440. $ref:
  441. - "normalize/acl"
  442. - variable: path
  443. label: Host Path
  444. description: The host path to use for storage.
  445. schema:
  446. type: hostpath
  447. show_if: [["acl_enable", "=", false]]
  448. required: true
  449. - variable: ix_volume_config
  450. label: ixVolume Configuration
  451. description: The configuration for the ixVolume dataset.
  452. schema:
  453. type: dict
  454. show_if: [["type", "=", "ix_volume"]]
  455. $ref:
  456. - "normalize/ix_volume"
  457. attrs:
  458. - variable: acl_enable
  459. label: Enable ACL
  460. description: Enable ACL for the storage.
  461. schema:
  462. type: boolean
  463. default: false
  464. - variable: dataset_name
  465. label: Dataset Name
  466. description: The name of the dataset to use for storage.
  467. schema:
  468. type: string
  469. required: true
  470. default: "storage_entry"
  471. - variable: acl_entries
  472. label: ACL Configuration
  473. schema:
  474. type: dict
  475. show_if: [["acl_enable", "=", true]]
  476. attrs: []
  477. $ref:
  478. - "normalize/acl"
  479. - variable: cifs_config
  480. label: SMB Configuration
  481. description: The configuration for the SMB dataset.
  482. schema:
  483. type: dict
  484. show_if: [["type", "=", "cifs"]]
  485. attrs:
  486. - variable: server
  487. label: Server
  488. description: The server to mount the SMB share.
  489. schema:
  490. type: string
  491. required: true
  492. - variable: path
  493. label: Path
  494. description: The path to mount the SMB share.
  495. schema:
  496. type: string
  497. required: true
  498. - variable: username
  499. label: Username
  500. description: The username to use for the SMB share.
  501. schema:
  502. type: string
  503. required: true
  504. - variable: password
  505. label: Password
  506. description: The password to use for the SMB share.
  507. schema:
  508. type: string
  509. required: true
  510. private: true
  511. - variable: domain
  512. label: Domain
  513. description: The domain to use for the SMB share.
  514. schema:
  515. type: string
  516. - variable: labels
  517. label: ""
  518. group: Labels Configuration
  519. schema:
  520. type: list
  521. default: []
  522. items:
  523. - variable: label
  524. label: Label
  525. schema:
  526. type: dict
  527. attrs:
  528. - variable: key
  529. label: Key
  530. schema:
  531. type: string
  532. required: true
  533. - variable: value
  534. label: Value
  535. schema:
  536. type: string
  537. required: true
  538. - variable: containers
  539. label: Containers
  540. description: Containers where the label should be applied
  541. schema:
  542. type: list
  543. items:
  544. - variable: container
  545. label: Container
  546. schema:
  547. type: string
  548. required: true
  549. enum:
  550. - value: linkwarden
  551. description: linkwarden
  552. - value: postgres
  553. description: postgres
  554. - value: meilisearch
  555. description: meilisearch
  556. - variable: resources
  557. label: ""
  558. group: Resources Configuration
  559. schema:
  560. type: dict
  561. attrs:
  562. - variable: limits
  563. label: Limits
  564. schema:
  565. type: dict
  566. attrs:
  567. - variable: cpus
  568. label: CPUs
  569. description: CPUs limit for Linkwarden.
  570. schema:
  571. type: int
  572. default: 2
  573. required: true
  574. - variable: memory
  575. label: Memory (in MB)
  576. description: Memory limit for Linkwarden.
  577. schema:
  578. type: int
  579. default: 4096
  580. required: true