minor update to docker-compose file

This commit is contained in:
Andy 2016-04-27 01:17:53 +02:00
parent 1bee5d27d2
commit d5ac118fec
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC

View File

@ -1,9 +1,3 @@
# docker-compose run --rm steam
#
# alias docker="sudo -E docker"
# alias docker-compose="sudo -E docker-compose"
# alias steam="docker-compose -f /home/arno/docker/steam/docker-compose.yml run --rm steam"
version: '2'
volumes:
@ -31,6 +25,4 @@ services:
environment:
- DISPLAY=unix$DISPLAY
- PULSE_SERVER=unix:$XDG_RUNTIME_DIR/pulse/native
# docker build -t steam .
# docker run --rm -ti -v /tmp/.X11-unix:/tmp/.X11-unix:ro -v /etc/localtime:/etc/localtime:ro -v /etc/machine-id:/etc/machine-id:ro -v /run/user/1000/pulse:/run/user/1000/pulse -v /dev/shm:/dev/shm --device /dev/dri -v $PWD/package:/home/user/.local/share/Steam/package -e DISPLAY=unix$DISPLAY -e PULSE_SERVER=unix:/run/user/1000/pulse/native steam
# - STEAM_RUNTIME=0