Claudio David Gasparini | 900ba02 | 2020-11-08 22:18:36 +0100 | [diff] [blame] | 1 | version: "3.7" |
| 2 | |
| 3 | services: |
| 4 | cps: |
Claudio David Gasparini | 900ba02 | 2020-11-08 22:18:36 +0100 | [diff] [blame] | 5 | container_name: cps-service |
Claudio David Gasparini | 5faa49c | 2020-11-12 08:28:07 +0100 | [diff] [blame] | 6 | image: nexus3.onap.org:10001/onap/cps-service:${VERSION} |
| 7 | ports: |
| 8 | - "8080:8080" |
Claudio David Gasparini | 900ba02 | 2020-11-08 22:18:36 +0100 | [diff] [blame] | 9 | environment: |
| 10 | DB_HOST: ${DB_HOST} |
| 11 | DB_USERNAME: ${DB_USERNAME} |
| 12 | DB_PASSWORD: ${DB_PASSWORD} |
Claudio David Gasparini | 5faa49c | 2020-11-12 08:28:07 +0100 | [diff] [blame] | 13 | restart: unless-stopped |
Claudio David Gasparini | 900ba02 | 2020-11-08 22:18:36 +0100 | [diff] [blame] | 14 | depends_on: |
| 15 | - dbpostgresql |
| 16 | |
Ruslan Kashapov | 1e5bd94 | 2021-01-22 12:53:01 +0200 | [diff] [blame] | 17 | 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 Gasparini | 900ba02 | 2020-11-08 22:18:36 +0100 | [diff] [blame] | 30 | dbpostgresql: |
| 31 | container_name: dbpostgresql |
| 32 | image: postgres |
| 33 | ports: |
| 34 | - '5432:5432' |
| 35 | environment: |
Claudio David Gasparini | 5faa49c | 2020-11-12 08:28:07 +0100 | [diff] [blame] | 36 | POSTGRES_DB: cpsdb |
| 37 | POSTGRES_USER: ${DB_USERNAME} |
| 38 | POSTGRES_PASSWORD: ${DB_PASSWORD} |