From 08aa9e524d466f919a3d1682ddfa3505dbf2029f Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Tue, 25 Oct 2016 16:56:20 +0200 Subject: [PATCH] Store steam data in data/ folder (fix) --- .gitignore | 1 + README.md | 1 + data/README.md | 9 +++++++++ docker-compose.yml | 2 +- 4 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 data/README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8fce603 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +data/ diff --git a/README.md b/README.md index 08eaa85..3a467de 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,7 @@ The simplest way to launch Steam is by running: ```sh git clone https://github.com/arno01/steam.git cd steam +chgrp docker data -R && chmod g+s data docker-compose run steam ``` diff --git a/data/README.md b/data/README.md new file mode 100644 index 0000000..601e55e --- /dev/null +++ b/data/README.md @@ -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 \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 10f5962..05c0ee8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: - /etc/localtime:/etc/localtime:ro - /etc/machine-id:/etc/machine-id:ro - $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 # Ubuntu's NVIDIA driver: - /usr/lib/nvidia-361-prime:/h1_64:ro