summaryrefslogtreecommitdiffstats
path: root/odlsli
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2024-04-18 15:36:37 -0400
committerDan Timoney <dtimoney@att.com>2024-04-18 19:37:16 +0000
commitf5b96156682cc308039eb9a5ba007c9308c22c67 (patch)
tree250f7573177a131e83517692dfdeab4138d9d9f0 /odlsli
parent78a6ceb2c78f0419a0a00839ea530eb8403b908e (diff)
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 <dtimoney@att.com>
Diffstat (limited to 'odlsli')
-rwxr-xr-xodlsli/src/main/dc/docker-compose.yaml26
1 files changed, 26 insertions, 0 deletions
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"