lancachenet / lancache-dns

DNS Docker service for a lancache.
https://hub.docker.com/r/lancachenet/lancache-dns/
MIT License
282 stars 74 forks source link

several steamcache-dns containers #61

Closed sta3b closed 5 years ago

sta3b commented 5 years ago

hello, is it possible to run several steamcache-dns instances , each instance on a different network card but all using the same cache depot ? (steamcache/generic)

sudo docker run --name cache-steam --restart=always -d -v /cache/steam/data:/data/cache -v /cache/steam/logs:/data/logs -p 192.168.88.68:80:80 steamcache/generic:latest

then :

sudo docker run --name steamcache-dns --restart=always -p 192.168.88.68:53:53/udp -e CACHE_MAX_AGE=95d -e UPSTREAM_DNS=1.1.1.1 -e STEAMCACHE_IP=192.168.88.68 steamcache/steamcache-dns:latest

sudo docker run --name steamcache-dns --restart=always -p 192.168.88.69:53:53/udp -e CACHE_MAX_AGE=95d -e UPSTREAM_DNS=1.1.1.1 -e STEAMCACHE_IP=192.168.88.68 steamcache/steamcache-dns:latest

its like using 2 different network cards to deliver steam cached content via 1 steam cache depot i dont want to bond 2 network cards i wana keep them seperated