Add missing export to HOST_IP

This commit is contained in:
Attila 2019-03-01 01:05:52 +01:00 committed by GitHub
parent 97501a00e7
commit 22de94fbed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ Unlike steamcache/generic this service will cache all cdn services (defined in t
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`
export 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 steamcache/steamcache-dns:latest
docker run --restart unless-stopped --name lancache --detach -v /cache/data:/data/cache -v /cache/logs:/data/logs -p 80:80 steamcache/monolithic:latest
docker run --restart unless-stopped --name sniproxy --detach -p 443:443 steamcache/sniproxy:latest