questions.yaml 25 KB

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