blob: 391d91109eecaba8b7bf266d01c1b90a91fe7a39 [file] [log] [blame]
Claudio David Gasparini900ba022020-11-08 22:18:36 +01001version: "3.7"
2
3services:
4 cps:
Claudio David Gasparini900ba022020-11-08 22:18:36 +01005 container_name: cps-service
Claudio David Gasparini5faa49c2020-11-12 08:28:07 +01006 image: nexus3.onap.org:10001/onap/cps-service:${VERSION}
7 ports:
8 - "8080:8080"
Claudio David Gasparini900ba022020-11-08 22:18:36 +01009 environment:
10 DB_HOST: ${DB_HOST}
11 DB_USERNAME: ${DB_USERNAME}
12 DB_PASSWORD: ${DB_PASSWORD}
Claudio David Gasparini5faa49c2020-11-12 08:28:07 +010013 restart: unless-stopped
Claudio David Gasparini900ba022020-11-08 22:18:36 +010014 depends_on:
15 - dbpostgresql
16
Ruslan Kashapov1e5bd942021-01-22 12:53:01 +020017 cps-nf-proxy:
18 container_name: cps-nf-proxy
19 image: nexus3.onap.org:10001/onap/cps-nf-proxy:${VERSION}
20 ports:
21 - "8081:8080"
22 environment:
23 DB_HOST: ${DB_HOST}
24 DB_USERNAME: ${DB_USERNAME}
25 DB_PASSWORD: ${DB_PASSWORD}
26 restart: unless-stopped
27 depends_on:
28 - dbpostgresql
29
Claudio David Gasparini900ba022020-11-08 22:18:36 +010030 dbpostgresql:
31 container_name: dbpostgresql
32 image: postgres
33 ports:
34 - '5432:5432'
35 environment:
Claudio David Gasparini5faa49c2020-11-12 08:28:07 +010036 POSTGRES_DB: cpsdb
37 POSTGRES_USER: ${DB_USERNAME}
38 POSTGRES_PASSWORD: ${DB_PASSWORD}