blob: cb44be96111617a7e508188844a2f3c5de2e5b24 [file] [log] [blame]
#
# This Docker stackfile deploys a docker insecure registry
#
#
# docker stack deploy -c docker-compose-registry.yml registry
#
version: "3"
services:
registry:
image: "${REGISTRY}registry:${REGISTRY_TAG:-2}"
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: 3
restart: always
deploy:
replicas: 1
ports:
- "5001:5000"
volumes:
- /cord/incubator/voltha/registry_data/registry_volume:/var/lib/registry