From f5b96156682cc308039eb9a5ba007c9308c22c67 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Thu, 18 Apr 2024 15:36:37 -0400 Subject: Update dgbuilder to use java 17 JRE Update dgbuilder to use Java 17 JRE. This will resolve issue the issues with UnsupportedClassVersionError that users have reported. Issue-ID: SDNC-1836 Change-Id: I2708e64f32ec4f53bbdde7761aaf0bf37cde2d17 Signed-off-by: Dan Timoney --- odlsli/src/main/dc/docker-compose.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'odlsli/src/main/dc') diff --git a/odlsli/src/main/dc/docker-compose.yaml b/odlsli/src/main/dc/docker-compose.yaml index 61b1bde7..18912f83 100755 --- a/odlsli/src/main/dc/docker-compose.yaml +++ b/odlsli/src/main/dc/docker-compose.yaml @@ -40,4 +40,30 @@ services: max-size: "30m" max-file: "5" + dgbuilder: + image: onap/ccsdk-dgbuilder-image:latest + depends_on: + - db + container_name: odlsli_dgbuilder + entrypoint: + - "/bin/bash" + - "-c" + - "cd /opt/onap/ccsdk/dgbuilder/ && ./start.sh sdnc1.0 && wait" + ports: + - "3200:3100" + links: + - db:dbhost + - db:sdnctldb01 + - db:sdnctldb02 + environment: + - MYSQL_ROOT_PASSWORD=MySecretPassword + - SDNC_CONFIG_DIR=/opt/onap/ccsdk/data/properties + - MYSQL_USER=${MYSQL_USER} + - MYSQL_PASSWORD=${MYSQL_PASSWORD} + - MYSQL_DATABASE=${MYSQL_DATABASE} + logging: + driver: "json-file" + options: + max-size: "30m" + max-file: "5" -- cgit 1.2.3-korg