gw0
b3663621a4
Cleanup: Add GitLab.com to default REGISTRIES
2021-02-18 18:37:25 +01:00
gw0
487315e991
Cleanup: Add debugging mode for creating CA certificates
2021-02-18 17:22:15 +01:00
gw0
b115f70711
Cleanup: Fix weird conditional statement syntax
2021-02-18 17:22:15 +01:00
gw0
b335f0e07e
Cleanup: Set all default values in Dockerfile
2021-02-18 17:22:15 +01:00
gw0
c1a433dc9c
Allow push only if own authentication is provided
2021-02-18 17:19:29 +01:00
gw0
9a3beba6ab
Allow override with own authentication if provided ( #61 )
2021-02-18 15:11:04 +01:00
Ricardo Pardini
ce3c77b62a
trying to make ipv6 actually work
2021-02-14 14:18:38 +01:00
Mateusz Kowalski
b9e5c932ce
Add support for IPv6 ( #76 )
2021-02-05 07:46:49 +01: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
Federico Gimenez
536f0fc8a0
Allow push ( #59 )
...
Introduce ALLOW_PUSH, if set to true, allows non-GET methods through the proxy
2020-12-02 14:58:19 +01:00
hishamanver
dfb6a5dea2
add ca srl param input to openssl command ( #66 )
...
Co-authored-by: Hisham Anver <Hisham.Anver@team.telstra.com>
2020-12-02 14:57:27 +01:00
Ricardo Pardini
0b6da4be92
add working docker-compose example, fix #69
2020-12-02 14:51:41 +01:00
Jye Lee
8bfb0a9ef6
allow setting certs location so mounted cert folder doesnt need to match expected names ( #38 )
2020-11-14 09:57:54 +01:00
hishamanver
3bb9f15061
add ca_srl creation when custom cert and key are provided ( #65 )
...
Co-authored-by: Hisham Anver <Hisham.Anver@team.telstra.com>
2020-11-14 09:50:58 +01:00
Marcelo Grebois
18c9ca4983
Adding documentation on how to configure Kops to use registry-proxy ( #64 )
2020-11-14 09:09:03 +01:00
Ricardo Pardini
6dbce2f5cd
Docker for Mac's Proxy GUI is a monster; avoid it by setting ENV directly in LinuxKit config
2020-11-09 16:25:04 +01:00
Ricardo Pardini
c224375253
warning, Docker-for-Mac is a beast
2020-11-09 14:56:02 +01:00
Ricardo Pardini
ae77f739d8
works both edge just as well as stable
2020-11-09 12:39:04 +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
6bf3974ade
remove Makefile, some PR added it and I didn't notice; we don't use it.
2020-11-09 11:26:29 +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
227a397225
Link image to original repository on GitHub via LABEL
2020-10-30 13:24:08 +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
427dd066bd
GitHub Actions: tags/releases to GitHub Container Registry too
2020-10-30 13:09:27 +01:00
Ricardo Pardini
eafedba51b
GitHub Actions: publish :latest and :latest-debug also to GitHub Container Registry
...
- DockerHub is ok, but will be ratelimited soon, so this could be a nice alternative
2020-10-30 12:56:22 +01:00
Ricardo Pardini
8524e376c1
add request_type logging and headers; values are blob-by-digest, manifest-by-digest, manifest-mutable, blob-mutable
2020-10-30 12:33:41 +01:00
Ricardo Pardini
1856d821fc
bump base image to nginx-1.18.0-alpine-3.12.1
2020-10-30 12:31:52 +01:00
Ricardo Pardini
ae9cc68300
document DEBUG_HUB
2020-10-30 12:09:10 +01:00
Ricardo Pardini
a2fd8bb32b
upgrade to mitmproxy 5.x; do not store large bodies in memory; use separate config dirs for each mitmweb; better mitmweb logging
2020-10-30 12:02:56 +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
411edf4c3f
manifest caching: drop from 1s to 0s (expire immediately), so we can hit ratelimit faster ( #54 )
...
- mostly for sanity-checking purposes, last release in 0.4.x series.
- next release after this will make those configurable.
2020-10-30 10:57:54 +01:00
Ricardo Pardini
19ff1ccbcb
GitHub Actions: fix building of -debug release versions by fixing build-args syntax in workflow files
...
- master/latest was already fixed.
2020-10-30 10:52:29 +01:00
Ricardo Pardini
763515267b
use_stale for HTTP 429 Too Many Requests (actually used by DockerHub ratelimiting #54 ) instead of 403
...
- tested by trying to pull `ratelimitalways/test:latest`
2020-10-30 01:29:13 +01:00
Ricardo Pardini
36da1c2428
GitHub Actions: different syntax for build-args, lest :latest-debug is not really debug enabled
2020-10-30 00:41:13 +01:00
Ricardo Pardini
aaf7fa0308
introduce env DEBUG_HUB; to help understand #54
...
- injects a mitmproxy between the caching layer and DockerHub's registry-1.docker.io
- it also disables VERIFY_SSL so the mitmproxy can be used;
- DEBUG_HUB's mitmweb is exposed on port 8082
- both DEBUG and DEBUG_HUB can be enabled independently
2020-10-30 00:20:18 +01:00
Ricardo Pardini
ffc7540f43
add request method and upstream time to logging; add cache status header; helps investigate #54
2020-10-30 00:14:29 +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
naftulee
16c3e250b7
access logs log_format to json ( #44 )
...
access logs log_format to json
2020-10-08 16:35:25 +02:00
Ricardo Pardini
0419eb4db7
during test, sleep 2s to allow the 1s stale manifest to occur
2020-10-08 16:28:13 +02:00
Brian Goff
6444380ea9
Cache immutable URLs and handle outages ( #51 )
...
Cache immutable URLs and handle outages
1. Changes the blob cache to only cache by digest
2. Adds caching for manifests requested by digest
3. Cache but invalidate immediately (after 1s) mutable requests
4. Use invalidated cache (from 3) if the backend is down or 403 unauthorized
2020-10-08 16:18:02 +02:00
Ricardo Pardini
1ecf949482
Merge pull request #52 from rpardini/latest-is-not-multiarch
...
Mention :latest is amd64 only
2020-10-08 15:50:17 +02:00
Ricardo Pardini
b997ccd47c
Mention :latest is amd64 only
2020-10-08 15:43:31 +02:00
Ricardo Pardini
1fc3dfed4a
master workflow, builds amd64-only :latest and :latest-debug
...
- arm64 via qemu is waaay too slow
- tags are still multiarch
2020-10-08 15:37:41 +02:00
Ricardo Pardini
10bac0816b
test workflow, naming and cosmetics
2020-10-08 15:27:34 +02:00
Ricardo Pardini
95bbab0f93
test workflow, add logging, fixes
2020-10-08 15:14:37 +02:00