-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose.yml
52 lines (46 loc) · 1.15 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
services:
caddy:
image: caddy:alpine
container_name: caddy
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
environment:
- DOMAIN=example.com # 修改为你的根域名
restart: always
quay:
image: "registry:2.8.3"
container_name: "quay"
restart: "always"
volumes:
- "./quay/config.yml:/etc/docker/registry/config.yml"
ghcr:
image: "registry:2.8.3"
container_name: "ghcr"
restart: "always"
volumes:
- "./ghcr/config.yml:/etc/docker/registry/config.yml"
gcr:
image: "registry:2.8.3"
container_name: "gcr"
restart: "always"
volumes:
- "./gcr/config.yml:/etc/docker/registry/config.yml"
docker:
image: "registry:2.8.3"
container_name: "docker"
restart: "always"
volumes:
- "./docker/config.yml:/etc/docker/registry/config.yml"
k8s:
image: "registry:2.8.3"
container_name: "k8s"
restart: "always"
volumes:
- "./k8s/config.yml:/etc/docker/registry/config.yml"
ghproxy:
image: "ghcr.io/sky22333/hub-proxy"
container_name: "ghproxy"
restart: "always"