You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
steam/docker-compose.yml

32 lines
879 B

8 years ago
version: '2'
volumes:
data: {}
services:
steam:
image: andrey01/steam
network_mode: bridge
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:ro
- /etc/localtime:/etc/localtime:ro
- /etc/machine-id:/etc/machine-id:ro
- $XDG_RUNTIME_DIR/pulse:/run/user/1000/pulse
- /dev/shm:/dev/shm
- data:/home
# - /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket:ro
devices:
# - /dev/nvidia0
# - /dev/nvidiactl
# - /dev/nvidia-uvm
8 years ago
# uncomment this when running NVIDIA Driver >= 361
# - /dev/nvidia-modeset
8 years ago
- /dev/dri
# - /dev/snd
environment:
- DISPLAY=unix$DISPLAY
- PULSE_SERVER=unix:$XDG_RUNTIME_DIR/pulse/native
# Use Steam provided runtime, requires --reset
# Steam provided runtime seems to be less stable with this image
# - STEAM_RUNTIME=1