-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
79 lines (77 loc) · 2.43 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
version: '3'
services:
registry-docker:
image: registry:2@sha256:26f7266535a3a1dae81e137ba4935c59d96e7bb4b700f64e4af8959ca5ab0419
volumes:
- ./data:/var/lib/registry
ports:
- "5000:5000"
environment:
REGISTRY_PROXY_REMOTEURL: https://registry-1.docker.io
restart: always
registry-quay:
image: registry:2@sha256:26f7266535a3a1dae81e137ba4935c59d96e7bb4b700f64e4af8959ca5ab0419
volumes:
- ./data:/var/lib/registry
ports:
- "5001:5000"
environment:
REGISTRY_PROXY_REMOTEURL: https://quay.io
restart: always
registry-ghcr:
image: registry:2@sha256:26f7266535a3a1dae81e137ba4935c59d96e7bb4b700f64e4af8959ca5ab0419
volumes:
- ./data:/var/lib/registry
ports:
- "5002:5000"
environment:
REGISTRY_PROXY_REMOTEURL: https://ghcr.io
restart: always
registry-gcr:
image: registry:2@sha256:26f7266535a3a1dae81e137ba4935c59d96e7bb4b700f64e4af8959ca5ab0419
volumes:
- ./data:/var/lib/registry
ports:
- "5003:5000"
environment:
REGISTRY_PROXY_REMOTEURL: https://gcr.io
restart: always
registry-aws:
image: registry:2@sha256:26f7266535a3a1dae81e137ba4935c59d96e7bb4b700f64e4af8959ca5ab0419
volumes:
- ./data:/var/lib/registry
ports:
- "5004:5000"
environment:
REGISTRY_PROXY_REMOTEURL: https://public.ecr.aws
restart: always
registry-mcr:
image: registry:2@sha256:26f7266535a3a1dae81e137ba4935c59d96e7bb4b700f64e4af8959ca5ab0419
volumes:
- ./data:/var/lib/registry
ports:
- "5005:5000"
environment:
REGISTRY_PROXY_REMOTEURL: https://mcr.microsoft.com
restart: always
registry-gitlab:
image: registry:2@sha256:26f7266535a3a1dae81e137ba4935c59d96e7bb4b700f64e4af8959ca5ab0419
volumes:
- ./data:/var/lib/registry
ports:
- "5006:5000"
environment:
REGISTRY_PROXY_REMOTEURL: https://registry.gitlab.com
restart: always
registry-k8s:
image: registry:2@sha256:26f7266535a3a1dae81e137ba4935c59d96e7bb4b700f64e4af8959ca5ab0419
volumes:
- ./data:/var/lib/registry
ports:
- "5007:5000"
environment:
REGISTRY_PROXY_REMOTEURL: https://registry.k8s.io
restart: always
#https://distribution.github.io/distribution/recipes/mirror/
#https://distribution.github.io/distribution/recipes/mirror/#configure-the-cache
#https://distribution.github.io/distribution/about/deploying/#customize-the-storage-location