forked from lancachenet/docker-compose
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env
More file actions
40 lines (29 loc) · 1.61 KB
/
.env
File metadata and controls
40 lines (29 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
## See the "Settings" section in README.md for more details
## Set this to true if you're using a load balancer, or set it to false if you're using seperate IPs for each service.
## If you're using monolithic (the default), leave this set to true
USE_GENERIC_CACHE=false
## IP addresses that the lancache monolithic instance is reachable on
## Specify one or more IPs, space separated - these will be used when resolving DNS hostnames through lancachenet-dns. Multiple IPs can improve cache priming performance for some services (e.g. Steam)## IP Address that the lancache monolithic instance will run on
## Note: This setting only affects DNS, monolithic and sniproxy will still bind to all IPs by default
#LANCACHE_IP=10.0.39.1
STEAMCACHE_IP=192.168.23.181
ORIGINCACHE_IP=192.168.23.182
BLIZZARDCACHE_IP=192.168.23.183
EPICGAMESCACHE_IP=192.168.23.184
ROCKSTARCACHE_IP=192.168.23.185
## IP address on the host that the DNS server should bind to
DNS_BIND_IP=192.168.23.180
## DNS Resolution for forwarded DNS lookups
UPSTREAM_DNS=8.8.8.8
## Storage path for the cached data
## Note that by default, this will be a folder relative to the docker-compose.yml file
CACHE_ROOT=./lancache
## Change this to customise the size of the memory cache (default 500m)
CACHE_MEM_SIZE=100m
## Change this to customise the size of the disk cache (default 1000000m)
## If you have more storage, you'll likely want to increase this
## The cache server will prune content on a least-recently-used basis if it
## starts approaching this limit
CACHE_DISK_SIZE=450g
## Change this to limit the maximum age of cached content (default 3650d)
CACHE_MAX_AGE=3650d