questions.yaml 28 KB

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