blob: 4ea89dc4e5aa73bc21b0a19eee459db786542648 [file] [log] [blame]
version: '3.3'
services:
mockserver:
container_name: mockserver
image: mockserver/mockserver:mockserver-5.9.0
environment:
MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties
MOCKSERVER_INITIALIZATION_JSON_PATH: /config/initializerJson.json
volumes:
- ./assets/mockserver.properties:/config/mockserver.properties
- ./assets/initializerJson.json:/config/initializerJson.json
networks:
pmsh-network:
db:
container_name: db
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: $DB_PASSWORD
POSTGRES_USER: $DB_USER
networks:
pmsh-network:
pmsh:
container_name: pmsh
image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pmsh
depends_on:
- db
volumes:
- ./assets/cert.pem:/opt/app/pmsh/etc/certs/cert.pem
- ./assets/key.pem:/opt/app/pmsh/etc/certs/key.pem
environment:
HOSTNAME: "dcae-pmsh"
CONFIG_BINDING_SERVICE_SERVICE_HOST: mockserver
CONFIG_BINDING_SERVICE_SERVICE_PORT: 1080
PMSH_PG_URL: db
PMSH_PG_USERNAME: $DB_USER
PMSH_PG_PASSWORD: $DB_PASSWORD
AAI_SERVICE_HOST: mockserver
AAI_SERVICE_PORT_AAI_SSL: 1080
networks:
pmsh-network:
networks:
pmsh-network:
driver: bridge