forked from findsec-cn/registry-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
59 lines (54 loc) · 1.25 KB
/
docker-compose.yaml
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
version: '2'
services:
local:
container_name: reg-local
image: findsec/registry-proxy:latest
restart: always
environment:
- DELETE_ENABLED=true
volumes:
- ./.data/registry:/var/lib/registry
ports:
- 5000:5000
gcr:
container_name: reg-gcr
image: findsec/registry-proxy:latest
restart: always
environment:
- PROXY_REMOTE_URL=https://gcr.io
volumes:
- ./.data/registry:/var/lib/registry
ports:
- 5001:5000
k8s-gcr:
container_name: reg-k8s-gcr
image: findsec/registry-proxy:latest
restart: always
environment:
- PROXY_REMOTE_URL=https://k8s.gcr.io
volumes:
- ./.data/registry:/var/lib/registry
ports:
- 5002:5000
ghcr:
container_name: reg-ghcr
image: findsec/registry-proxy:latest
restart: always
environment:
- PROXY_REMOTE_URL=https://ghcr.io
volumes:
- ./.data/registry:/var/lib/registry
ports:
- 5003:5000
ui:
container_name: reg-ui
image: joxit/docker-registry-ui
restart: always
environment:
- REGISTRY_TITLE=Linuxhub Public Container Registry
- NGINX_PROXY_PASS_URL=http://reg-local:5000
- DELETE_IMAGES=true
env_file:
- .env
ports:
- 801:80