questions.yaml 22 KB

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