aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker-compose.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index e5ac8c7..c2c867a 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -37,8 +37,17 @@ services:
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
+ - -t
+ - "300"
+ - mariadb:3306
+ - --
+ - /opt/mso/scripts/start-jboss-server.sh