questions.yaml 23 KB

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