mirror of
https://github.com/lancachenet/monolithic
synced 2024-11-22 03:53:06 +00:00
Rebranding updates
This commit is contained in:
parent
09f1895eff
commit
d2af144866
2 changed files with 8 additions and 8 deletions
12
README.md
12
README.md
|
@ -16,13 +16,13 @@ This container is designed to support any game that uses HTTP and also supports
|
|||
- Uplay (Ubisoft)
|
||||
- Windows Updates
|
||||
|
||||
This is the best container to use for all game caching and should be used for Steam in preference to the steamcache/steamcache and lancachenet/generic containers.
|
||||
This is the best container to use for all game caching and should be used for Steam in preference to the lancachenet/steamcache and lancachenet/generic containers.
|
||||
|
||||
## Usage
|
||||
|
||||
You need to be able to redirect HTTP traffic to this container. The easiest way to do this is to replace the DNS entries for the various game services with your cache server.
|
||||
|
||||
You can use the [steamcache-dns](https://hub.docker.com/r/lancachenet/steamcache-dns/) docker image to do this or you can use a DNS service already on your network see the [steamcache-dns github page](https://github.com/lancachenet/steamcache-dns) for more information.
|
||||
You can use the [lancache-dns](https://hub.docker.com/r/lancachenet/lancache-dns/) docker image to do this or you can use a DNS service already on your network see the [lancache-dns github page](https://github.com/lancachenet/lancache-dns) for more information.
|
||||
|
||||
For the cache files to persist you will need to mount a directory on the host machine into the container. You can do this using `-v <path on host>:/data/cache`. You can do the same with a logs directory as well if you want logs to be persistent as well.
|
||||
|
||||
|
@ -45,7 +45,7 @@ Unlike lancachenet/generic this service will cache all cdn services (defined in
|
|||
To initialise a full caching setup with dns and sni proxy you can use the following script as a starting point:
|
||||
```
|
||||
HOST_IP=`hostname -I | cut -d' ' -f1`
|
||||
docker run --restart unless-stopped --name steamcache-dns --detach -p 53:53/udp -e USE_GENERIC_CACHE=true -e LANCACHE_IP=$HOST_IP lancachenet/steamcache-dns:latest
|
||||
docker run --restart unless-stopped --name lancache-dns --detach -p 53:53/udp -e USE_GENERIC_CACHE=true -e LANCACHE_IP=$HOST_IP lancachenet/lancache-dns:latest
|
||||
docker run --restart unless-stopped --name lancache --detach -v /cache/data:/data/cache -v /cache/logs:/data/logs -p 80:80 lancachenet/monolithic:latest
|
||||
docker run --restart unless-stopped --name sniproxy --detach -p 443:443 lancachenet/sniproxy:latest
|
||||
echo Please configure your dhcp server to serve dns as $HOST_IP
|
||||
|
@ -53,7 +53,7 @@ echo Please configure your dhcp server to serve dns as $HOST_IP
|
|||
Please check that `hostname -I` returns the correct IP before running this snippet
|
||||
|
||||
|
||||
## Changing from steamcache/steamcache and lancachenet/generic
|
||||
## Changing from lancachenet/steamcache and lancachenet/generic
|
||||
|
||||
This new container is designed to replace an array of steamcache or generic containers with a single monolithic instance. However if you currently run a steamcache or generic setup then there a few things to note
|
||||
|
||||
|
@ -127,8 +127,8 @@ In order for this to work you need to add the port maps onto the relevant cdn co
|
|||
* If you are using `lancachenet/monolithic` then using `-p 80:80` should be sufficient as per the documentation.
|
||||
* If you are using `lancachenet/generic` or `lancachenet/steamcache` then add multiple `-p <IPadddress>:80:80` for each IP you have added. For example `-p 10.10.1.30:80:80 -p 10.10.1.31:80:80`
|
||||
|
||||
### Step 3: Informing steamcache-dns of the extra IP's
|
||||
Finally we need to inform steamcache-dns that STEAM is now available on multiple IP addresses. This can be done on the command line using the following command `-e STEAMCACHE_IP="10.10.1.30 10.10.1.31"`. Note the quotes surrounding the multiple IP addresses.
|
||||
### Step 3: Informing lancache-dns of the extra IP's
|
||||
Finally we need to inform lancache-dns that STEAM is now available on multiple IP addresses. This can be done on the command line using the following command `-e STEAMCACHE_IP="10.10.1.30 10.10.1.31"`. Note the quotes surrounding the multiple IP addresses.
|
||||
### Step 4: Testing
|
||||
Choose a game which has not been seen by the cache before (or clear your `/data/cache` folder) and start it downloading. Check to see what the maximum speed seen by your steam client is. If necessary repeat steps 1-3 with additional IPs until you see a download equivalent to your uncached steam client or no longer see an improvement vs the previous IP allocation.
|
||||
|
||||
|
|
4
faq.md
4
faq.md
|
@ -56,7 +56,7 @@ This solution is designed to support anything from a couple of people at home, t
|
|||
|
||||
No. HTTPS traffic is encrypted. Some of the games, Origin for instance, also serve HTTPS content on the same hostnames we're intercepting - for this you can use SNI Proxy. It listens on port 443 and just passes through any HTTPS traffic. It is unable to inspect the traffic, or cache it.
|
||||
|
||||
You can find more at the [steamcache/sniproxy](https://github.com/steamcache/sniproxy) project page.
|
||||
You can find more at the [lancachenet/sniproxy](https://github.com/lancachenet/sniproxy) project page.
|
||||
|
||||
## Can I cache Fortnite/Epic Games Launcher?
|
||||
|
||||
|
@ -68,7 +68,7 @@ Yes, almost any HTTP content can be cached. We're maintaining a list of hostname
|
|||
|
||||
## How do you intercept the HTTP traffic?
|
||||
|
||||
We prefer to use DNS-based interception This is because it is easier to deploy than other methods. We have a [steamcache-dns](https://github.com/steamcache/steamcache-dns) project that is a self-contained DNS server with options for setting your cache IP addresses.
|
||||
We prefer to use DNS-based interception This is because it is easier to deploy than other methods. We have a [lancache-dns](https://github.com/lancachenet/lancache-dns) project that is a self-contained DNS server with options for setting your cache IP addresses.
|
||||
|
||||
If you already run a DNS server and are comfortable configuring new override DNS zones, you can also just do this from the list on [uklans/cache-domains](https://github.com/uklans/cache-domains). pfSense's DNS forwarder can easily be configured, and the project has scripts to generate config for unbound.
|
||||
|
||||
|
|
Loading…
Reference in a new issue