Multiple changes
- Added code to create default KVM storage pool and network if they
don't exits.
- Added a docker registry to the cluster.
- Added a a wait cycle for consul to start to avoid proxy thrashing when
voltah starts.
- Addition of the rmake developer tool to simplify the edit develop make
and install into cluster developer workflow.
Change-Id: Ie365948bc3cdb9064670560d32e685554bfca432
diff --git a/compose/docker-compose-registry.yml b/compose/docker-compose-registry.yml
new file mode 100644
index 0000000..5f353d9
--- /dev/null
+++ b/compose/docker-compose-registry.yml
@@ -0,0 +1,33 @@
+#
+# This Docker stackfile deploys a Voltha CLI container along with one backup.
+#
+# 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
+#
+
+version: "3"
+services:
+ registry:
+ image: registry:2
+ 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
+