Skip to content

Commit b5e7746

Browse files
Merge pull request #14 from Lepidopterist/master
Clarify some settings. here be dragons etc.
2 parents 1f92a31 + be1ee34 commit b5e7746

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.env

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
USE_GENERIC_CACHE=true
66

77
## IP addresses that the lancache monolithic instance is reachable on
8-
## 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
8+
## 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)
99
## Note: This setting only affects DNS, monolithic and sniproxy will still bind to all IPs by default
1010
LANCACHE_IP=10.0.39.1
1111

@@ -19,14 +19,17 @@ UPSTREAM_DNS=8.8.8.8
1919
## Note that by default, this will be a folder relative to the docker-compose.yml file
2020
CACHE_ROOT=./lancache
2121

22-
## Change this to customise the size of the memory cache (default 500m)
23-
CACHE_MEM_SIZE=500m
24-
2522
## Change this to customise the size of the disk cache (default 1000000m)
2623
## If you have more storage, you'll likely want to increase this
2724
## The cache server will prune content on a least-recently-used basis if it
28-
## starts approaching this limit
25+
## starts approaching this limit.
26+
## Set this to a little bit less than your actual available space
2927
CACHE_DISK_SIZE=1000000m
3028

29+
## Change this to customise the size of the nginx cache manager (default 500m)
30+
## DO NOT CHANGE THIS LIGHTLY. The defaults are enough to address 8TB of cache storage. Increasing
31+
## this value will cause performance problems, and may cause the cache to fail to start entirely.
32+
CACHE_MEM_SIZE=500m
33+
3134
## Change this to limit the maximum age of cached content (default 3650d)
32-
CACHE_MAX_AGE=3650d
35+
CACHE_MAX_AGE=3650d

0 commit comments

Comments
 (0)