Claudio D. Gasparini | 4e07d48 | 2021-02-11 08:51:06 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (c) 2020 Pantheon.tech. |
| 3 | # Modifications Copyright (C) 2021 Bell Canada. |
| 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # ============LICENSE_END========================================================= |
| 17 | |
Claudio David Gasparini | 900ba02 | 2020-11-08 22:18:36 +0100 | [diff] [blame] | 18 | version: "3.7" |
| 19 | |
| 20 | services: |
Claudio D. Gasparini | 4e07d48 | 2021-02-11 08:51:06 +0100 | [diff] [blame] | 21 | #cps-standalone: |
| 22 | # container_name: cps-service |
Bruno Sakoto | f05a503 | 2021-03-03 18:27:54 -0500 | [diff] [blame] | 23 | # image: cps-service:${VERSION} |
Claudio D. Gasparini | 4e07d48 | 2021-02-11 08:51:06 +0100 | [diff] [blame] | 24 | # volumes: |
| 25 | # - "./application.yml:/app/resources/application.yml" |
| 26 | # ports: |
| 27 | # - "8881:8080" |
| 28 | # environment: |
| 29 | # DB_HOST: ${DB_HOST} |
| 30 | # DB_USERNAME: ${DB_USERNAME} |
| 31 | # DB_PASSWORD: ${DB_PASSWORD} |
| 32 | # restart: unless-stopped |
| 33 | # depends_on: |
| 34 | # - dbpostgresql |
Claudio David Gasparini | 900ba02 | 2020-11-08 22:18:36 +0100 | [diff] [blame] | 35 | |
Claudio D. Gasparini | 4e07d48 | 2021-02-11 08:51:06 +0100 | [diff] [blame] | 36 | #nf-proxy-standalone: |
| 37 | # container_name: cps-nf-proxy |
| 38 | # image: cps-nf-proxy:${VERSION} |
| 39 | # volumes: |
| 40 | # - "./application.yml:/app/resources/application.yml" |
| 41 | # ports: |
| 42 | # - "8882:8080" |
| 43 | # environment: |
| 44 | # DB_HOST: ${DB_HOST} |
| 45 | # DB_USERNAME: ${DB_USERNAME} |
| 46 | # DB_PASSWORD: ${DB_PASSWORD} |
| 47 | # restart: unless-stopped |
| 48 | # depends_on: |
| 49 | # - dbpostgresql |
Claudio D. Gasparini | b1ccfce | 2021-02-04 09:33:28 +0100 | [diff] [blame] | 50 | |
| 51 | cps-and-nf-proxy: |
| 52 | container_name: cps-and-nf-proxy |
Claudio D. Gasparini | 4e07d48 | 2021-02-11 08:51:06 +0100 | [diff] [blame] | 53 | image: cps-and-nf-proxy:${VERSION} |
Claudio D. Gasparini | b1ccfce | 2021-02-04 09:33:28 +0100 | [diff] [blame] | 54 | volumes: |
Claudio D. Gasparini | 4e07d48 | 2021-02-11 08:51:06 +0100 | [diff] [blame] | 55 | - "./application.yml:/app/resources/application.yml" |
Claudio D. Gasparini | b1ccfce | 2021-02-04 09:33:28 +0100 | [diff] [blame] | 56 | ports: |
| 57 | - "8883:8080" |
| 58 | environment: |
| 59 | DB_HOST: ${DB_HOST} |
| 60 | DB_USERNAME: ${DB_USERNAME} |
| 61 | DB_PASSWORD: ${DB_PASSWORD} |
| 62 | restart: unless-stopped |
| 63 | depends_on: |
| 64 | - dbpostgresql |
Ruslan Kashapov | 1e5bd94 | 2021-01-22 12:53:01 +0200 | [diff] [blame] | 65 | |
Claudio David Gasparini | 900ba02 | 2020-11-08 22:18:36 +0100 | [diff] [blame] | 66 | dbpostgresql: |
| 67 | container_name: dbpostgresql |
Claudio D. Gasparini | 4e07d48 | 2021-02-11 08:51:06 +0100 | [diff] [blame] | 68 | image: postgres:12.4-alpine |
Claudio David Gasparini | 900ba02 | 2020-11-08 22:18:36 +0100 | [diff] [blame] | 69 | ports: |
| 70 | - '5432:5432' |
| 71 | environment: |
Claudio David Gasparini | 5faa49c | 2020-11-12 08:28:07 +0100 | [diff] [blame] | 72 | POSTGRES_DB: cpsdb |
| 73 | POSTGRES_USER: ${DB_USERNAME} |
| 74 | POSTGRES_PASSWORD: ${DB_PASSWORD} |