AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame^] | 1 | version: '3.3' |
| 2 | |
| 3 | services: |
| 4 | mockserver: |
| 5 | container_name: mockserver |
| 6 | image: mockserver/mockserver:mockserver-5.9.0 |
| 7 | environment: |
| 8 | MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties |
| 9 | MOCKSERVER_INITIALIZATION_JSON_PATH: /config/initializerJson.json |
| 10 | volumes: |
| 11 | - ./assets/mockserver.properties:/config/mockserver.properties |
| 12 | - ./assets/initializerJson.json:/config/initializerJson.json |
| 13 | networks: |
| 14 | pmsh-network: |
| 15 | |
| 16 | db: |
| 17 | container_name: db |
| 18 | image: postgres |
| 19 | restart: always |
| 20 | environment: |
| 21 | POSTGRES_PASSWORD: $DB_PASSWORD |
| 22 | POSTGRES_USER: $DB_USER |
| 23 | networks: |
| 24 | pmsh-network: |
| 25 | |
| 26 | pmsh: |
| 27 | container_name: pmsh |
| 28 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pmsh |
| 29 | depends_on: |
| 30 | - db |
| 31 | volumes: |
| 32 | - ./assets/cert.pem:/opt/app/pmsh/etc/certs/cert.pem |
| 33 | - ./assets/key.pem:/opt/app/pmsh/etc/certs/key.pem |
| 34 | environment: |
| 35 | HOSTNAME: "dcae-pmsh" |
| 36 | CONFIG_BINDING_SERVICE_SERVICE_HOST: mockserver |
| 37 | CONFIG_BINDING_SERVICE_SERVICE_PORT: 1080 |
| 38 | PMSH_PG_URL: db |
| 39 | PMSH_PG_USERNAME: $DB_USER |
| 40 | PMSH_PG_PASSWORD: $DB_PASSWORD |
| 41 | AAI_SERVICE_HOST: mockserver |
| 42 | AAI_SERVICE_PORT_AAI_SSL: 1080 |
| 43 | networks: |
| 44 | pmsh-network: |
| 45 | |
| 46 | networks: |
| 47 | pmsh-network: |
| 48 | driver: bridge |