AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 1 | version: '3.3' |
| 2 | |
| 3 | services: |
AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 4 | db: |
| 5 | container_name: db |
| 6 | image: postgres |
| 7 | restart: always |
| 8 | environment: |
| 9 | POSTGRES_PASSWORD: $DB_PASSWORD |
| 10 | POSTGRES_USER: $DB_USER |
| 11 | networks: |
| 12 | pmsh-network: |
| 13 | |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame^] | 14 | aai-sim: |
| 15 | container_name: aai-sim |
| 16 | image: mockserver/mockserver:mockserver-5.9.0 |
| 17 | environment: |
| 18 | MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties |
| 19 | MOCKSERVER_INITIALIZATION_JSON_PATH: /config/aai-initializer.json |
| 20 | volumes: |
| 21 | - ./assets/mockserver.properties:/config/mockserver.properties |
| 22 | - ./assets/aai-initializer.json:/config/aai-initializer.json |
| 23 | networks: |
| 24 | pmsh-network: |
| 25 | |
| 26 | cbs-sim: |
| 27 | container_name: cbs-sim |
| 28 | image: mockserver/mockserver:mockserver-5.9.0 |
| 29 | environment: |
| 30 | MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties |
| 31 | MOCKSERVER_INITIALIZATION_JSON_PATH: /config/cbs-initializer.json |
| 32 | volumes: |
| 33 | - ./assets/mockserver.properties:/config/mockserver.properties |
| 34 | - ./assets/cbs-initializer.json:/config/cbs-initializer.json |
| 35 | networks: |
| 36 | pmsh-network: |
| 37 | |
| 38 | mr-sim: |
| 39 | container_name: mr-sim |
| 40 | image: mockserver/mockserver:mockserver-5.9.0 |
| 41 | environment: |
| 42 | MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties |
| 43 | MOCKSERVER_INITIALIZATION_JSON_PATH: /config/mr-initializer.json |
| 44 | volumes: |
| 45 | - ./assets/mockserver.properties:/config/mockserver.properties |
| 46 | - ./assets/mr-initializer.json:/config/mr-initializer.json |
| 47 | networks: |
| 48 | pmsh-network: |
| 49 | |
AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 50 | pmsh: |
| 51 | container_name: pmsh |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame^] | 52 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pmsh:1.0.1 |
AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 53 | depends_on: |
| 54 | - db |
| 55 | volumes: |
| 56 | - ./assets/cert.pem:/opt/app/pmsh/etc/certs/cert.pem |
| 57 | - ./assets/key.pem:/opt/app/pmsh/etc/certs/key.pem |
| 58 | environment: |
| 59 | HOSTNAME: "dcae-pmsh" |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame^] | 60 | CONFIG_BINDING_SERVICE_SERVICE_HOST: cbs-sim |
AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 61 | CONFIG_BINDING_SERVICE_SERVICE_PORT: 1080 |
| 62 | PMSH_PG_URL: db |
| 63 | PMSH_PG_USERNAME: $DB_USER |
| 64 | PMSH_PG_PASSWORD: $DB_PASSWORD |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame^] | 65 | AAI_SERVICE_HOST: aai-sim |
AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 66 | AAI_SERVICE_PORT_AAI_SSL: 1080 |
| 67 | networks: |
| 68 | pmsh-network: |
| 69 | |
| 70 | networks: |
| 71 | pmsh-network: |
| 72 | driver: bridge |