--- /dev/null
+# ============LICENSE_START===============================================
+# Copyright (C) 2023 Nordix Foundation. All rights reserved.
+# ========================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ============LICENSE_END=================================================
+#
+
+version: '3.0'
+networks:
+ default:
+ external: true
+ name: nonrtric-docker-net
+
+services:
+ auth-token-file-pmlog-0:
+ image: $AUTH_TOKEN_IMAGE
+ environment:
+ CREDS_GRANT_TYPE: client_credentials
+ CREDS_CLIENT_SECRET: $PMLOG_CLIENT_SECRET
+ CREDS_CLIENT_ID: nrt-pm-log
+ AUTH_SERVICE_URL: http://keycloak:8080/realms/nonrtric-realm/protocol/openid-connect/token
+ OUTPUT_FILE: /token-cache/jwt.txt
+ volumes:
+ - ./config/pmlog/token-cache:/token-cache
+ labels:
+ - "ranpm=yes"
+ - "ranpmlog=yes"
+
+ pmlog-0:
+ image: $PMLOG_IMAGE
+ container_name: pmlog-0
+ depends_on:
+ - auth-token-file-pmlog-0
+ environment:
+ APP_INFLUX_ACCESSTOKEN: $INFLUXDB2_TOKEN
+ volumes:
+ - ./config/pmlog/jobDefinition.json:/opt/app/pmlog-service/config/jobDefinition.json
+ - ./config/pmlog/application.yaml:/opt/app/pmlog-service/config/application.yaml
+ - ./config/pmlog/token-cache:/token-cache
+ ports:
+ - 8184:8084
+ - 8436:8436
+ labels:
+ - "ranpm=yes"
+ - "ranpmlog=yes"