File tree 3 files changed +21
-2
lines changed
3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 1
1
.idea
2
2
* .iml
3
- docker_mirror_cache
4
- docker_mirror_certs
3
+ ** / docker_mirror_cache
4
+ ** / docker_mirror_certs
Original file line number Diff line number Diff line change
1
+ version : ' 3.7'
2
+
3
+ services :
4
+ docker_registry_proxy :
5
+ image : rpardini/docker-registry-proxy:0.6.0 # Check and make sure this is the last released version
6
+ env_file : # This contains REGISTRIES and AUTH_REGISTRIES
7
+ - ./secrets.env
8
+ environment :
9
+ - CACHE_MAX_SIZE=256g
10
+ - ENABLE_MANIFEST_CACHE=true
11
+ volumes :
12
+ # Format: <host-path>:<container-path>; adapt to your needs
13
+ - ./docker_mirror_cache:/docker_mirror_cache # This will be up to CACHE_MAX_SIZE big
14
+ - ./docker_mirror_certs:/ca
15
+ ports :
16
+ - 0.0.0.0:3128:3128 # 0.0.0.0 binds to all interfaces
Original file line number Diff line number Diff line change
1
+ # DockerHub authentication
2
+ REGISTRIES = "k8s.gcr.io gcr.io quay.io" # There is no need to specify auth.docker.io, it's built-in
3
+ AUTH_REGISTRIES = " auth.docker.io:your_dockerhub_username:your_dockerhub_password"
You can’t perform that action at this time.
0 commit comments