Преглед изворни кода

feat: the default configuration path has changed to /etc/distribution/config.yml

dqzboy пре 1 година
родитељ
комит
2fac022475
1 измењених фајлова са 8 додато и 8 уклоњено
  1. 8 8
      docker-compose.yaml

+ 8 - 8
docker-compose.yaml

@@ -10,7 +10,7 @@ services:
       #- https=http://host:port
     volumes:
       - ./registry/data:/var/lib/registry
-      - ./registry-hub.yml:/etc/docker/registry/config.yml
+      - ./registry-hub.yml:/etc/distribution/config.yml
       #- ./htpasswd:/auth/htpasswd
     ports:
       - 51000:5000
@@ -28,7 +28,7 @@ services:
       #- https=http://host:port
     volumes:
       - ./registry/data:/var/lib/registry
-      - ./registry-ghcr.yml:/etc/docker/registry/config.yml
+      - ./registry-ghcr.yml:/etc/distribution/config.yml
       #- ./htpasswd:/auth/htpasswd
     ports:
       - 52000:5000
@@ -46,7 +46,7 @@ services:
       #- https=http://host:port
     volumes:
       - ./registry/data:/var/lib/registry
-      - ./registry-gcr.yml:/etc/docker/registry/config.yml
+      - ./registry-gcr.yml:/etc/distribution/config.yml
       #- ./htpasswd:/auth/htpasswd
     ports:
       - 53000:5000
@@ -64,7 +64,7 @@ services:
       #- https=http://host:port
     volumes:
       - ./registry/data:/var/lib/registry
-      - ./registry-k8sgcr.yml:/etc/docker/registry/config.yml
+      - ./registry-k8sgcr.yml:/etc/distribution/config.yml
       #- ./htpasswd:/auth/htpasswd
     ports:
       - 54000:5000
@@ -82,7 +82,7 @@ services:
       #- https=http://host:port
     volumes:
       - ./registry/data:/var/lib/registry
-      - ./registry-k8s.yml:/etc/docker/registry/config.yml
+      - ./registry-k8s.yml:/etc/distribution/config.yml
       #- ./htpasswd:/auth/htpasswd
     ports:
       - 55000:5000
@@ -100,7 +100,7 @@ services:
       #- https=http://host:port
     volumes:
       - ./registry/data:/var/lib/registry
-      - ./registry-quay.yml:/etc/docker/registry/config.yml
+      - ./registry-quay.yml:/etc/distribution/config.yml
       #- ./htpasswd:/auth/htpasswd
     ports:
       - 56000:5000
@@ -118,7 +118,7 @@ services:
       #- https=http://host:port
     volumes:
       - ./registry/data:/var/lib/registry
-      - ./registry-mcr.yml:/etc/docker/registry/config.yml
+      - ./registry-mcr.yml:/etc/distribution/config.yml
       #- ./htpasswd:/auth/htpasswd
     ports:
       - 57000:5000
@@ -136,7 +136,7 @@ services:
       #- https=http://host:port
     volumes:
       - ./registry/data:/var/lib/registry
-      - ./registry-elastic.yml:/etc/docker/registry/config.yml
+      - ./registry-elastic.yml:/etc/distribution/config.yml
       #- ./htpasswd:/auth/htpasswd
     ports:
       - 58000:5000