mirror of
https://github.com/lancachenet/monolithic
synced 2024-11-21 19:43:05 +00:00
Merge pull request #25 from borzaka/patch-2
Update README with the correct default environment variables
This commit is contained in:
commit
70d454d6e8
1 changed files with 2 additions and 2 deletions
|
@ -109,13 +109,13 @@ CACHE_DISK_SIZE 1000000m
|
|||
In addition, there is an environment variable to control the max cache age
|
||||
|
||||
```
|
||||
CACHE_MAX_AGE 3650d
|
||||
CACHE_MAX_AGE 3560d
|
||||
````
|
||||
|
||||
You can override these at run time by adding the following to your docker run command. They accept the standard nginx notation for sizes (k/m/g/t) and durations (m/h/d)
|
||||
|
||||
```
|
||||
-e CACHE_MEM_SIZE=4000m -e CACHE_DISK_SIZE=1000g
|
||||
-e CACHE_MEM_SIZE=4000m -e CACHE_DISK_SIZE=1000g -e CACHE_MAX_AGE 3560d
|
||||
```
|
||||
|
||||
## Tuning your cache
|
||||
|
|
Loading…
Reference in a new issue