lancachenet / generic

Generic LAN Download Content Cache
https://hub.docker.com/r/lancachenet/generic/
MIT License
425 stars 57 forks source link

Riot games not caching to disk #74

Closed Vankerkom closed 5 years ago

Vankerkom commented 5 years ago

Describe the issue you are having

RIOT's files do not cache to disk? When i do execute du -sh ./riot-games/data, then it says its only a few kilobytes.

How are you running the container(s)?

I run an instance for every service that should be cached. Here is the riot games configuration:

sudo docker run \
  -d \
  --restart unless-stopped \
  --name cache-riot-games \
  -p 192.168.0.203:80:80 \
  -v /cache/riot-games/data:/data/cache \
  -v /cache/riot-games/logs:/data/logs \
  steamcache/steamcache:latest

DNS Configuration

  -d \
  --name steamcache-dns \
  -p 192.168.0.200:53:53/udp \
  -e STEAMCACHE_IP=192.168.0.201 \
  -e RIOTCACHE_IP=192.168.0.203 \
  -e UPSTREAM_DNS=192.168.0.100 \
  steamcache/steamcache-dns:latest

Output of container(s)

My access log of riot container.

192.168.0.124 - - [24/Dec/2018:00:38:36 +0000] "GET /releases/live/projects/lol_game_client_en_gb/releases/0.0.1.164/packages/files/BIN_0x00000019 HTTP/1.1" 200 51738021 "-" "-" OTHER
192.168.0.124 - - [24/Dec/2018:00:38:41 +0000] "GET /releases/live/projects/lol_game_client_en_gb/releases/0.0.1.164/packages/files/BIN_0x0000001a HTTP/1.1" 200 27016939 "-" "-" OTHER
192.168.0.124 - - [24/Dec/2018:00:38:46 +0000] "GET /releases/live/projects/lol_game_client_en_gb/releases/0.0.1.164/packages/files/BIN_0x0000001b HTTP/1.1" 200 34025936 "-" "-" OTHER
192.168.0.124 - - [24/Dec/2018:00:38:53 +0000] "GET /releases/live/projects/lol_game_client_en_gb/releases/0.0.1.164/packages/files/BIN_0x0000001c HTTP/1.1" 200 39582337 "-" "-" OTHER
192.168.0.124 - - [24/Dec/2018:00:39:04 +0000] "GET /releases/live/projects/lol_game_client_en_gb/releases/0.0.1.164/packages/files/BIN_0x0000001d HTTP/1.1" 200 65799756 "-" "-" OTHER
192.168.0.124 - - [24/Dec/2018:00:39:07 +0000] "GET /releases/live/projects/lol_game_client_en_gb/releases/0.0.1.164/packages/files/BIN_0x0000001e HTTP/1.1" 200 13051780 "-" "-" OTHER
192.168.0.124 - - [24/Dec/2018:00:39:10 +0000] "GET /releases/live/solutions/league_client_sln/releases/releaselisting_EUW HTTP/1.1" 304 0 "-" "-" OTHER
192.168.0.124 - - [24/Dec/2018:00:39:10 +0000] "GET /releases/live/solutions/lol_game_client_sln/releases/releaselisting_EUW HTTP/1.1" 200 3448 "-" "-" OTHER
192.168.0.124 - - [24/Dec/2018:11:12:11 +0000] "GET /releases/live/solutions/league_client_sln/releases/releaselisting_EUW HTTP/1.1" 200 1261 "-" "-" OTHER
192.168.0.124 - - [24/Dec/2018:11:12:11 +0000] "GET /releases/live/solutions/lol_game_client_sln/releases/releaselisting_EUW HTTP/1.1" 200 3448 "-" "-" OTHER
192.168.0.124 - - [24/Dec/2018:11:12:32 +0000] "GET /releases/live/solutions/league_client_sln/releases/releaselisting_EUW HTTP/1.1" 200 1261 "-" "-" OTHER
192.168.0.124 - - [24/Dec/2018:11:12:32 +0000] "GET /releases/live/solutions/lol_game_client_sln/releases/releaselisting_EUW HTTP/1.1" 200 3448 "-" "-" OTHER
Vankerkom commented 5 years ago

I just realized that I ran the steamcache image instead of the generic one.

sudo docker run \
  -d \
  --restart unless-stopped \
  --name cache-riot-games \
  -p 192.168.0.203:80:80 \
  -v /cache/riot-games/data:/data/cache \
  -v /cache/riot-games/logs:/data/logs \
  steamcache/generic:latest