blob: da3b86dc47ab63fb06cc06784db0adb0ab222e0a [file] [log] [blame]
version: "3.7"
services:
cps:
container_name: cps-service
image: nexus3.onap.org:10001/onap/cps-service:${VERSION}
ports:
- "8080:8080"
environment:
DB_HOST: ${DB_HOST}
DB_USERNAME: ${DB_USERNAME}
DB_PASSWORD: ${DB_PASSWORD}
restart: unless-stopped
network_mode: "host"
depends_on:
- dbpostgresql
dbpostgresql:
container_name: dbpostgresql
image: postgres
ports:
- '5432:5432'
environment:
POSTGRES_DB: cpsdb
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_PASSWORD: ${DB_PASSWORD}