VOL-382 This update adds a replicated file system to hold the registry
information such that regardless of where the cluster registry restarted
in the event of a server failure or a complete cluster reboot.
A few cleanup items for hard coded directory values were also addressed.

Change-Id: I5d1313c5f093bafb7c4669ac91813251bbbb6795
diff --git a/compose/docker-compose-registry.yml b/compose/docker-compose-registry.yml
index 5f353d9..8804259 100644
--- a/compose/docker-compose-registry.yml
+++ b/compose/docker-compose-registry.yml
@@ -1,33 +1,18 @@
 #
-# This Docker stackfile deploys a Voltha CLI container along with one backup.
+# This Docker stackfile deploys a docker insecure registry
 #
-# The stackfile assumes that overlay network 'voltha_net' has already been
-# created. To deploy the stack, issue the command:
 #
-#     docker stack deploy -c docker-compose-vcli.yml cli
+#     docker stack deploy -c docker-compose-registry.yml registry
 #
 
 version: "3"
 services:
   registry:
     image: registry:2
+    restart: always
     deploy:
       replicas: 1
-#    environment:
-#      DOCKER_HOST_IP: "${DOCKER_HOST_IP}"
-#    entrypoint:
-#      - /cli/cli/setup.sh
-#      - -C consul:8500
-#      - -g voltha:50555
-#      - -s voltha:18880
-#      - -G
-#    networks:
-#      - voltha-net
     ports:
       - "5001:5000"
-      
-#networks:
-#  voltha-net:
-#    external:
-#      name: voltha_net
-
+    volumes:
+      - /cord/incubator/voltha/registry_data/registry_volume:/var/lib/registry