summaryrefslogtreecommitdiffstats
path: root/docker-compose
diff options
context:
space:
mode:
authorRuslan Kashapov <ruslan.kashapov@pantheon.tech>2021-01-22 12:53:01 +0200
committerRuslan Kashapov <ruslan.kashapov@pantheon.tech>2021-01-26 14:01:53 +0200
commit1e5bd9498bd22e1bda74f0382bca3186e82ce811 (patch)
tree99d1dd2171c2dc76c655805a640de8d136b98bb2 /docker-compose
parent9f52f60a2e70f2344c671af28e62fe2315ee8e02 (diff)
Docker image building and docker-compose for cps-nf-proxy
Issue-ID: CPS-184 Change-Id: I364a7f1ff41ca491f522038269d95d91b76da313 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Diffstat (limited to 'docker-compose')
-rw-r--r--docker-compose/docker-compose.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml
index b1b3bf9255..391d91109e 100644
--- a/docker-compose/docker-compose.yml
+++ b/docker-compose/docker-compose.yml
@@ -14,6 +14,19 @@ services:
depends_on:
- dbpostgresql
+ cps-nf-proxy:
+ container_name: cps-nf-proxy
+ image: nexus3.onap.org:10001/onap/cps-nf-proxy:${VERSION}
+ ports:
+ - "8081:8080"
+ environment:
+ DB_HOST: ${DB_HOST}
+ DB_USERNAME: ${DB_USERNAME}
+ DB_PASSWORD: ${DB_PASSWORD}
+ restart: unless-stopped
+ depends_on:
+ - dbpostgresql
+
dbpostgresql:
container_name: dbpostgresql
image: postgres