Commit Graph

40 Commits (9041d0f20634b8aa1f95357ddf21ebb1d3d72d26)

Author SHA1 Message Date
saces 9041d0f206 add option to change cache behavior (CACHE_GREEDY_MODE)
In default mode a layer exist only once in the cache, and regardless
which repository it is initially from, each repository get a hit on
this layer now.
Pitfall: You can not push images that reuse layers from a different
registry (`ALLOW_PUSH=true`).
Setting this option to 'false' adds the host to the cache key to solve this.

Default is `true` to not change default behavior.
WARNING: Changing this setting invalidates your cache!
2022-01-12 01:38:20 +01:00
saces ef8908da4f fix text copy error 2022-01-11 20:57:53 +01:00
saces 45ad55d3f1 add option to disable request buffering.
If push is allowed, buffering requests can cause issues on slow upstreams.
The put requests pile up, and since `proxy_ignore_client_abort` is on...
...the push fails.

If you have trouble pushing, set `PROXY_REQUEST_BUFFERING`to false, then fix
remainig issues/timeouts.

Default is true to not change default behavior.
2022-01-10 23:17:49 +01:00
Mahmoud Saada 149da3b6f1
docs: k3d integration (#112)
* docs: k3d integration - Closes #111

* Update README.md
2022-01-05 23:57:42 +01:00
Léo 4bb60c8c05 doc: add kind cluster usage in README 2021-07-12 15:13:48 +02:00
Akos Dudas 26aee2e64a
Instructions for Windows Docker Desktop (#95)
* Instructions for Windows Docker Desktop

* Typo in doc: add missing word
2021-06-23 10:17:32 +02:00
Sezer Bülent 51585675e6
DRP-70: add timeoutes as ENVs, update README.md, update nginx config (#73)
Authored-by: Bulent <bt.sezer29@gmail.com>
2021-01-28 12:12:18 +01:00
Ricardo Pardini c52c7d3741 release 0.6.1 -- with no breaking changes, hopefully 2020-12-02 15:11:00 +01:00
Ricardo Pardini 93f3d5749f add some Docker Desktop for Mac instructions (#58, #50 and others) 2020-11-09 12:32:19 +01:00
Ricardo Pardini 313f5ea203 release 0.6.0 with ENABLE_MANIFEST_CACHE 2020-10-30 18:58:42 +01:00
Ricardo Pardini a726f88049
3-tier implementation of manifest caching (#57)
* implement manifest caching; refactor config with includes, and generate from ENVs in entrypoint.sh
- disabled by default; enable with -e ENABLE_MANIFEST_CACHE=true
- default times and regexes are a wild guess, make sure to tune for your use case.
-  add manifest caching/anti-ratelimit usage note to README
- add -e ENABLE_MANIFEST_CACHE=true to examples, some wording changes
- add -e ENABLE_MANIFEST_CACHE=true to one the steps in test workflow.
2020-10-30 18:54:10 +01:00
Ricardo Pardini 937b06e593 release 0.5.0; update README to point to ghcr.io as well as DockerHub 2020-10-30 13:14:39 +01:00
Ricardo Pardini ae9cc68300 document DEBUG_HUB 2020-10-30 12:09:10 +01:00
Ricardo Pardini 973f0d020b release 0.4.2; -debug version fixed, 429 ratelimit tolerance, 0s caching 2020-10-30 10:59:59 +01:00
Ricardo Pardini 78f96ffe92 badges 2020-10-27 12:48:26 +01:00
Ricardo Pardini 7aeffcfc4f badges 2020-10-20 16:11:41 +02:00
Ricardo Pardini 3c10258e6d 0.4.1 release, since I borked 0.4.0 2020-10-08 17:34:41 +02:00
Ricardo Pardini d57a8ce4f5 0.4.0 release 2020-10-08 16:50:45 +02:00
Ricardo Pardini b997ccd47c
Mention :latest is amd64 only 2020-10-08 15:43:31 +02:00
Ricardo Pardini ffc878671c update README for 0.4.0-pre1, debugging scenarios, plain no-auth caching, and some wording 2020-10-08 03:02:23 +02:00
Ricardo Pardini 6b4a26e23c README: reword, one less header level 2020-10-06 11:16:03 +02:00
Ricardo Pardini f2254685f8 split README into registry-specific sections; add GitLab example (fixes #27 thanks @bephinix); some rewording 2020-10-06 11:06:42 +02:00
ricardop 67a81cf781 0.3.0-beta2 seems stable enough for a release 2020-04-07 12:22:22 +02:00
ricardop 19cbdfedfc 0.3.0-beta2: don't leak Authorization header from the registry to the redirected destination during @handle_redirects 2020-04-03 15:33:46 +02:00
ricardop bbd4d60bc4 update README; bump to 0.3.0-beta1 2020-04-03 14:16:09 +02:00
Sebastián Ramírez f3d2eefc09 Add support for custom cache sizes 2019-09-27 13:44:07 -05:00
Sebastián Ramírez 4e5e75e91d 📝 Fix extra colons in example in docs 2019-08-03 22:00:34 -05:00
Sebastián Ramírez abe5c4a644 Add support for GCR service account keys
and custom delimiters for registry auth strings
2019-08-03 21:40:03 -05:00
Ricardo Pardini 3e71b6fd57
remove some "$" usage in instructions, theres no good way to escape it in nginx literals
bump to 0.2.4
2019-01-16 21:43:01 +01:00
Ricardo Pardini d9bce2b880
bump to 0.2.3 2019-01-16 20:54:59 +01:00
Ricardo Pardini 97e77ccc56
update README to refer to 0.2.2, which is only cosmetic 2018-11-04 17:35:39 +01:00
Ricardo Pardini 19b9cdba0b
update README, remove whitespace from example invocation 2018-11-04 17:34:54 +01:00
Ricardo Pardini 8b03786636
update README for 0.2.1, details about authentication with Docker Hub and GCR. 2018-11-04 17:15:42 +01:00
Ricardo Pardini 80bb415d84
use 0.1.0 for invocation example 2018-11-04 16:51:58 +01:00
ricardop 296bffc911
fix README instructions 2018-07-04 11:40:33 +02:00
ricardop 8b568ec572
more README fixes 2018-06-29 01:55:56 +02:00
ricardop e82c0dde2f
fixing README 2018-06-29 01:45:16 +02:00
ricardop 0abd4ca51a
completely reworked into an HTTPS_PROXY-based solution
- emit our own certificates
- configurable via ENVs
- generates config dinamically
2018-06-29 01:39:02 +02:00
ricardop ba4c66e8bc
add a long explanation 2018-06-27 18:13:56 +02:00
Ricardo Pardini 228777050c
Initial commit 2018-06-27 10:08:18 +02:00