Add docs for setting up Steam Headless on Intel GPU with docker-compose

This commit is contained in:
Josh.5
2022-10-02 11:48:55 +00:00
committed by Josh Sunnex
parent 2c0b7b5d53
commit 145d5600a6
6 changed files with 167 additions and 14 deletions

41
docs/compose-files/.env Normal file
View File

@@ -0,0 +1,41 @@
# Docker config
## DOCKER_RUNTIME:
## Options: ['runc', 'nvidia']
## Description: The name of an implementation of OCI Runtime Spec
## Available runtimes are listed when you run `docker info`.
## Your system may have other options available. As a simple rule, if you are
## using an NVIDIA GPU, set this to 'nvidia' for anything else, set this to 'runc'.
DOCKER_RUNTIME='runc'
# Container mode config
## MODE:
## Options: ['primary', 'secondary']
## Description: Steam Headless containers can run in a secondary mode that will only start
## a Steam process that will then use the X server of either the host or another
## Steam Headless container running in 'primary' mode.
MODE='primary'
## WEB_UI_MODE:
## Options: ['vnc', 'neko', 'none']
## Description: Configures the WebUI to use for accessing the virtual desktop.
WEB_UI_MODE='vnc'
## ENABLE_VNC_AUDIO:
## Options: ['true', 'false']
## Description: Enables audio over for the VNC Web UI if 'WEB_UI_MODE' is set to 'vnc'.
ENABLE_VNC_AUDIO='true'
# Default user config
PUID='1000'
PGID='1000'
UMASK='000'
USER_PASSWORD='password'
# System config
HOSTNAME='SteamHeadless'
TZ='Pacific/Auckland'
USER_LOCALES='en_US.UTF-8 UTF-8'
DISPLAY=':55'
SHM_SIZE='2G'
# Nvidia specific config (not required for non Nvidia GPUs)
NVIDIA_DRIVER_CAPABILITIES='all'
NVIDIA_VISIBLE_DEVICES='all'