#!/bin/bash
#
# ============LICENSE_START=======================================================
-# Copyright (C) 2021 Bell Canada.
+# Copyright (C) 2021-2022 Bell Canada.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
curl -L https://github.com/docker/compose/releases/download/1.25.0/docker-compose-`uname -s`-`uname -m` > docker-compose
chmod +x docker-compose
+# Set environment variables for docker compose
+export CPS_TEMPORAL_DOCKER_REPO=
+export STABLE_CPS_CORE_VERSION=3.0.0-SNAPSHOT-20220303T233031Z
# start CPS Temporal, cps-core, timescaledb, PostgresSQL and kafka containers with docker compose
./docker-compose up -d
python3 --version
# ============LICENSE_START=======================================================
# Copyright (C) 2021 Nordix Foundation.
-# Modifications Copyright (C) 2021 Bell Canada.
+# Modifications Copyright (C) 2021-2022 Bell Canada.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
cps-temporal:
container_name: cps-temporal
- image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/cps-temporal:latest
+ image: ${CPS_TEMPORAL_DOCKER_REPO-nexus3.onap.org:10003/}onap/cps-temporal:${CPS_TEMPORAL_VERSION:-latest}
ports:
- '8082:8080'
- '8081:8081'
cps-and-ncmp:
container_name: cps-and-ncmp
- image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/cps-and-ncmp:${VERSION:-latest}
+ image: ${CPS_CORE_DOCKER_REPO-nexus3.onap.org:10003/}onap/cps-and-ncmp:${STABLE_CPS_CORE_VERSION:-latest}
ports:
- "8083:8080"
- "8087:8081"