diff options
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 3aeb66e..a5debd8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: "3.0" +version: "2" services: mongo: image: mongo:3 @@ -14,17 +14,18 @@ services: - /var/lib/mariadb environment: MYSQL_DATABASE: nbi - MYSQL_ROOT_PASSWORD: $SPRING_DATASOURCE_PASSWORD + MYSQL_PASSWORD: toto + MYSQL_RANDOM_ROOT_PASSWORD: 'yes' + MYSQL_USER: rene # APP *************************************************************************************** nbi: - build: - context: . - args: - SERVER_PORT: $SERVER_PORT + image: nexus3.onap.org:10001/onap/externalapi/nbi:latest ports: - - $SERVER_PORT:$SERVER_PORT + - 8080:8080 environment: SPRING_DATASOURCE_URL: jdbc:mariadb://mariadb:3306/nbi + SPRING_DATASOURCE_PASSWORD: toto + SPRING_DATASOURCE_USERNAME: rene SPRING_DATA_MONGODB_HOST: mongo depends_on: - mariadb |