diff options
-rw-r--r-- | dgbuilder-docker/src/main/docker/Dockerfile | 2 | ||||
-rwxr-xr-x | odlsli/src/main/dc/docker-compose.yaml | 26 |
2 files changed, 27 insertions, 1 deletions
diff --git a/dgbuilder-docker/src/main/docker/Dockerfile b/dgbuilder-docker/src/main/docker/Dockerfile index 0ca8c04f..a26ed14f 100644 --- a/dgbuilder-docker/src/main/docker/Dockerfile +++ b/dgbuilder-docker/src/main/docker/Dockerfile @@ -1,5 +1,5 @@ # Base standard ONAP java base image with added packages needed for nodered -FROM onap/ccsdk-alpine-j11-image:${project.docker.latestfulltag.version} +FROM onap/ccsdk-alpine-j17-image:${project.docker.latestfulltag.version} MAINTAINER CCSDK Team (onap-discuss@lists.onap.org) USER root 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" |