-version: '2.1'
+version: '2'
networks:
default:
driver: bridge
options:
max-size: "30m"
max-file: "5"
- healthcheck:
- test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
- timeout: 20s
- retries: 10
mso:
image: openecomp/mso
ports:
- ./volumes/mso/chef-config:/shared
environment:
- MYSQL_ROOT_PASSWORD=password
+ - ONAP_IP=${OPENO_IP}
hostname:
mso.mso.testlab.openecomp.org
depends_on:
- mariadb:
- condition: service_healthy
+ - 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