blob: beae091f1ba1935cf3d2c5d94ed9a700519fe037 [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}
Claudio D. Gasparinib1ccfce2021-02-04 09:33:28 +01007 volumes:
8 - "./application.yml:/app/application.yml"
Claudio David Gasparini5faa49c2020-11-12 08:28:07 +01009 ports:
Claudio D. Gasparinib77bf252021-01-28 15:36:37 +010010 - "8881:8080"
Claudio David Gasparini900ba022020-11-08 22:18:36 +010011 environment:
12 DB_HOST: ${DB_HOST}
13 DB_USERNAME: ${DB_USERNAME}
14 DB_PASSWORD: ${DB_PASSWORD}
Claudio David Gasparini5faa49c2020-11-12 08:28:07 +010015 restart: unless-stopped
Claudio David Gasparini900ba022020-11-08 22:18:36 +010016 depends_on:
17 - dbpostgresql
18
Claudio D. Gasparinib1ccfce2021-02-04 09:33:28 +010019 cps-nf-proxy:
20 container_name: cps-nf-proxy
21 image: nexus3.onap.org:10001/onap/cps-nf-proxy:${VERSION}
22 volumes:
23 - "./application.yml:/app/application.yml"
24 ports:
25 - "8882:8080"
26 environment:
27 DB_HOST: ${DB_HOST}
28 DB_USERNAME: ${DB_USERNAME}
29 DB_PASSWORD: ${DB_PASSWORD}
30 restart: unless-stopped
31 depends_on:
32 - dbpostgresql
33
34 cps-and-nf-proxy:
35 container_name: cps-and-nf-proxy
36 image: nexus3.onap.org:10001/onap/cps-and-nf-proxy:${VERSION}
37 volumes:
38 - "./application.yml:/app/application.yml"
39 ports:
40 - "8883:8080"
41 environment:
42 DB_HOST: ${DB_HOST}
43 DB_USERNAME: ${DB_USERNAME}
44 DB_PASSWORD: ${DB_PASSWORD}
45 restart: unless-stopped
46 depends_on:
47 - dbpostgresql
Ruslan Kashapov1e5bd942021-01-22 12:53:01 +020048
Claudio David Gasparini900ba022020-11-08 22:18:36 +010049 dbpostgresql:
50 container_name: dbpostgresql
51 image: postgres
52 ports:
53 - '5432:5432'
54 environment:
Claudio David Gasparini5faa49c2020-11-12 08:28:07 +010055 POSTGRES_DB: cpsdb
56 POSTGRES_USER: ${DB_USERNAME}
57 POSTGRES_PASSWORD: ${DB_PASSWORD}