Store steam data in data/ folder (fix)

This commit is contained in:
Gautier Pelloux-Prayer 2016-10-25 16:56:20 +02:00
parent 16262bdeec
commit 08aa9e524d
4 changed files with 12 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
data/

View File

@ -46,6 +46,7 @@ The simplest way to launch Steam is by running:
```sh ```sh
git clone https://github.com/arno01/steam.git git clone https://github.com/arno01/steam.git
cd steam cd steam
chgrp docker data -R && chmod g+s data
docker-compose run steam docker-compose run steam
``` ```

9
data/README.md Normal file
View File

@ -0,0 +1,9 @@
Steam will store its data in this folder:
- .steam/ for updates, game downloads & storage.
- .local/share/Steam/ for account configuration.
You must ensure that this folder belongs to `docker` group!
Change that using:
chgrp docker ../data -R && chmod g+s ../data

View File

@ -12,7 +12,7 @@ services:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /etc/machine-id:/etc/machine-id:ro - /etc/machine-id:/etc/machine-id:ro
- $XDG_RUNTIME_DIR/pulse:/run/user/1000/pulse - $XDG_RUNTIME_DIR/pulse:/run/user/1000/pulse
- data:/home - ./data:/home/user
# - /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket:ro # - /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket:ro
# Ubuntu's NVIDIA driver: # Ubuntu's NVIDIA driver:
- /usr/lib/nvidia-361-prime:/h1_64:ro - /usr/lib/nvidia-361-prime:/h1_64:ro