diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2017-10-23 10:32:22 +0200 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2017-10-25 08:49:47 +0200 |
commit | 5a3a1df643d2c0a4bac3b4823a14a41e2314f050 (patch) | |
tree | f6c139d2147ca35286d7273c5891c6012aade53d | |
parent | ae75e9b7af78149be983fb77d4d37aa2cde61011 (diff) |
user wait-for to control container boot order
also added a link between db and so containers
Change-Id: I60b2fc862e94eefd4d5f1e2782750953da8be45d
Issue-ID: SO-208
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
-rw-r--r-- | docker-compose.yml | 9 |
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 |