Add allotted resource recipe table
[so/docker-config.git] / docker-compose.yml
index 65da92f..1769b46 100644 (file)
@@ -32,12 +32,23 @@ services:
       - ./volumes/mso/chef-config:/shared
     environment:
       - MYSQL_ROOT_PASSWORD=password
+      - ONAP_IP=${OPENO_IP}
     hostname:
       mso.mso.testlab.openecomp.org
     depends_on:
       - mariadb
+    links:
+      - mariadb
     logging:
       driver: "json-file"
       options:
         max-size: "30m"
         max-file: "5"
+    command:
+      - /wait-for.sh
+      - -q
+      - -t
+      - "300"
+      - mariadb:3306
+      - --
+      - /opt/mso/scripts/start-jboss-server.sh