-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
86 lines (78 loc) · 1.87 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
services:
## docker hub
dockerhub:
container_name: registry-docker-hub
image: registry:latest
restart: always
volumes:
- ./registry-config/registry-dockerhub.yml:/etc/docker/registry/config.yml
networks:
- registry
## ghcr.io
ghcr:
container_name: registry-ghcr
image: registry:latest
restart: always
volumes:
- ./registry-config/registry-ghcr.yml:/etc/docker/registry/config.yml
networks:
- registry
## registry.k8s.io
gcr:
container_name: registry-k8s
image: registry:latest
restart: always
volumes:
- ./registry-config/registry-k8s.yml:/etc/docker/registry/config.yml
networks:
- registry
## k8s.gcr.io
k8sgcr:
container_name: registry-k8s-gcr
image: registry:latest
restart: always
volumes:
- ./registry-config/registry-k8s-gcr.yml:/etc/docker/registry/config.yml
networks:
- registry
## gcr.io
gcr:
container_name: registry-gcr
image: registry:latest
restart: always
volumes:
- ./registry-config/registry-gcr.yml:/etc/docker/registry/config.yml
networks:
- registry
## quay.io
quay:
container_name: registry-quay
image: registry:latest
restart: always
volumes:
- ./registry-config/registry-quay.yml:/etc/docker/registry/config.yml
networks:
- registry
## UI
registry-ui:
container_name: registry-ui
image: joxit/docker-registry-ui:main-debian
environment:
- NGINX_PROXY_PASS_URL=http://registry-docker-hub:5000
- SINGLE_REGISTRY=true
restart: always
networks:
- registry
proxy:
container_name: proxy
image: nginx:1.27
restart: always
volumes:
- ./nginx-default.conf:/etc/nginx/conf.d/default.conf
- ./nginx.conf:/etc/nginx/nginx.conf
ports:
- 80:80
networks:
- registry
networks:
registry: