questions.yaml 23 KB

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