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} |
Claudio D. Gasparini | b1ccfce | 2021-02-04 09:33:28 +0100 | [diff] [blame] | 7 | volumes: |
| 8 | - "./application.yml:/app/application.yml" |
Claudio David Gasparini | 5faa49c | 2020-11-12 08:28:07 +0100 | [diff] [blame] | 9 | ports: |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 10 | - "8881:8080" |
Claudio David Gasparini | 900ba02 | 2020-11-08 22:18:36 +0100 | [diff] [blame] | 11 | environment: |
| 12 | DB_HOST: ${DB_HOST} |
| 13 | DB_USERNAME: ${DB_USERNAME} |
| 14 | DB_PASSWORD: ${DB_PASSWORD} |
Claudio David Gasparini | 5faa49c | 2020-11-12 08:28:07 +0100 | [diff] [blame] | 15 | restart: unless-stopped |
Claudio David Gasparini | 900ba02 | 2020-11-08 22:18:36 +0100 | [diff] [blame] | 16 | depends_on: |
| 17 | - dbpostgresql |
| 18 | |
Claudio D. Gasparini | b1ccfce | 2021-02-04 09:33:28 +0100 | [diff] [blame] | 19 | 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 Kashapov | 1e5bd94 | 2021-01-22 12:53:01 +0200 | [diff] [blame] | 48 | |
Claudio David Gasparini | 900ba02 | 2020-11-08 22:18:36 +0100 | [diff] [blame] | 49 | dbpostgresql: |
| 50 | container_name: dbpostgresql |
| 51 | image: postgres |
| 52 | ports: |
| 53 | - '5432:5432' |
| 54 | environment: |
Claudio David Gasparini | 5faa49c | 2020-11-12 08:28:07 +0100 | [diff] [blame] | 55 | POSTGRES_DB: cpsdb |
| 56 | POSTGRES_USER: ${DB_USERNAME} |
| 57 | POSTGRES_PASSWORD: ${DB_PASSWORD} |