-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose.yml
111 lines (102 loc) · 2.55 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: '3'
services:
registry-dockerhub:
container_name: registry-dockerhub
image: registry:latest
restart: always
volumes:
- ./registry-dockerhub.yml:/etc/docker/registry/config.yml
- /data/registry:/var/lib/registry
ports:
- 5001:5000
networks:
- registry-net
registry-gcr:
container_name: registry-gcr
image: registry:latest
restart: always
volumes:
- ./registry-gcr.yml:/etc/docker/registry/config.yml
- /data/registry:/var/lib/registry
ports:
- 5002:5000
networks:
- registry-net
registry-ghcr:
container_name: registry-ghcr
image: registry:latest
restart: always
volumes:
- ./registry-ghcr.yml:/etc/docker/registry/config.yml
- /data/registry:/var/lib/registry
ports:
- 5003:5000
networks:
- registry-net
registry-k8s:
container_name: registry-k8s
image: registry:latest
restart: always
volumes:
- ./registry-k8s.yml:/etc/docker/registry/config.yml
- /data/registry:/var/lib/registry
ports:
- 5004:5000
networks:
- registry-net
registry-quay:
container_name: registry-quay
image: registry:latest
restart: always
volumes:
- ./registry-quay.yml:/etc/docker/registry/config.yml
- /data/registry:/var/lib/registry
ports:
- 5005:5000
networks:
- registry-net
registry-local:
container_name: registry-local
image: registry:latest
restart: always
volumes:
- ./registry-local.yml:/etc/docker/registry/config.yml
- /data/registry:/var/lib/registry
networks:
- registry-net
registry-ui:
container_name: registry-ui
image: joxit/docker-registry-ui:latest
restart: always
links:
- registry-local:registry-local
ports:
- 5080:80
environment:
- REGISTRY_TITLE=LinkOS Registry Mirrors
- NGINX_PROXY_PASS_URL=http://registry-local:5000
- DELETE_IMAGES=false
- SHOW_CONTENT_DIGEST=true
- SINGLE_REGISTRY=true
networks:
- registry-net
registry-admin-ui:
container_name: registry-admin-ui
image: joxit/docker-registry-ui:latest
restart: always
links:
- registry-local:registry-local
ports:
- 5180:80
environment:
- REGISTRY_TITLE=LinkOS Registry Mirrors
- NGINX_PROXY_PASS_URL=http://registry-local:5000
- DELETE_IMAGES=true
- SHOW_CONTENT_DIGEST=true
- SINGLE_REGISTRY=true
networks:
- registry-net
networks:
registry-net:
name: registry-net
driver: bridge