mirror of
https://github.com/lancachenet/monolithic
synced 2024-11-24 21:13:02 +00:00
Update README with the correct default environment variables
Plus add CACHE_MAX_AGE variable to example
This commit is contained in:
parent
97501a00e7
commit
2204c00379
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