blob: 0ad8453ec06e49000f3a21cc79a2e15a3c207564 [file] [log] [blame]
AndyWalsheb412c7b2020-02-13 15:05:21 +00001version: '3.3'
2
3services:
AndyWalsheb412c7b2020-02-13 15:05:21 +00004 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
AndyWalshe48496a52020-03-12 12:52:19 +000014 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
AndyWalsheb412c7b2020-02-13 15:05:21 +000050 pmsh:
51 container_name: pmsh
AndyWalshe48496a52020-03-12 12:52:19 +000052 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pmsh:1.0.1
AndyWalsheb412c7b2020-02-13 15:05:21 +000053 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"
AndyWalshe48496a52020-03-12 12:52:19 +000060 CONFIG_BINDING_SERVICE_SERVICE_HOST: cbs-sim
AndyWalsheb412c7b2020-02-13 15:05:21 +000061 CONFIG_BINDING_SERVICE_SERVICE_PORT: 1080
62 PMSH_PG_URL: db
63 PMSH_PG_USERNAME: $DB_USER
64 PMSH_PG_PASSWORD: $DB_PASSWORD
AndyWalshe48496a52020-03-12 12:52:19 +000065 AAI_SERVICE_HOST: aai-sim
AndyWalsheb412c7b2020-02-13 15:05:21 +000066 AAI_SERVICE_PORT_AAI_SSL: 1080
67 networks:
68 pmsh-network:
69
70networks:
71 pmsh-network:
72 driver: bridge