Skip to content

Commit 635c408

Browse files
author
Qasim Sarfraz
authored
Merge pull request #6 from evemorgen/patch-1
Update README.md with note about `CACHE_MAX_SIZE`
2 parents a77f03d + bbdeccf commit 635c408

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Run it like this, replace UPSTREAM with your target address with following requi
88
- `AWS_ACCESS_KEY_ID`
99
- `AWS_SECRET_ACCESS_KEY`
1010

11+
It is also possible to define `CACHE_MAX_SIZE` env to limit maximum cache size on provided volume
12+
1113
For example:
1214

1315
```sh
@@ -19,6 +21,7 @@ docker run --rm --name docker-registry-proxy --net=host \
1921
-e AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} \
2022
-e AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} \
2123
-e AWS_REGION=${AWS_DEFAULT_REGION} \
24+
-e CACHE_MAX_SIZE=100g \
2225
esailors/aws-ecr-http-proxy:latest
2326
```
2427

0 commit comments

Comments
 (0)