alshabib | cfb8d72 | 2016-06-15 15:17:37 -0700 | [diff] [blame^] | 1 | registry: |
2 | image: registry:2.4.0 | ||||
3 | container_name: registry | ||||
4 | volumes: | ||||
5 | - /docker-registry/registry:/var/lib/registry/docker/registry | ||||
6 | - /docker-registry/conf:/conf | ||||
7 | ports: | ||||
8 | - "5000:5000" | ||||
9 | |||||
10 | registry-mirror: | ||||
11 | image: registry:2.4.0 | ||||
12 | container_name: registry-mirror | ||||
13 | volumes: | ||||
14 | - /docker-registry-mirror/registry:/var/lib/registry/docker/registry | ||||
15 | - /docker-registry-mirror/conf:/conf | ||||
16 | command: serve /conf/config.yml | ||||
17 | ports: | ||||
18 | - "5001:5000" |