Revert "Enforce container boot order" 25/19825/1
authorRob Daugherty <rd472p@att.com>
Thu, 19 Oct 2017 21:33:57 +0000 (17:33 -0400)
committerRob Daugherty <rd472p@att.com>
Thu, 19 Oct 2017 21:35:12 +0000 (17:35 -0400)
The integration has said they will not accept this
change at this time because it would require them
to upgrade their version of docker-compose.

This reverts commit 9872c1abfb4326c85e4f8175b4bd2a23f2e1c9f0.

Issue: SO-208
Change-Id: I4000c1f7fbe5acba6a3fb55ef54e672df447b5f2
Signed-off-by: Rob Daugherty <rd472p@att.com>
docker-compose.yml

index 7cf32df..65da92f 100644 (file)
@@ -1,4 +1,4 @@
-version: '2.1'
+version: '2'
 networks:
   default:
     driver: bridge
@@ -21,10 +21,6 @@ services:
       options:
         max-size: "30m"
         max-file: "5"
-    healthcheck:
-      test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
-      timeout: 20s
-      retries: 10
   mso:
     image: openecomp/mso
     ports:
@@ -39,8 +35,7 @@ services:
     hostname:
       mso.mso.testlab.openecomp.org
     depends_on:
-      mariadb:
-        condition: service_healthy
+      - mariadb
     logging:
       driver: "json-file"
       options: