blob: ed991c38b5f2989f484a4ad60f06822f3913ba65 [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:
efiacore207b422020-04-23 10:36:54 +010021 - ./assets/aai_sim/aai_mockserver.properties:/config/mockserver.properties
22 - ./assets/aai_sim/aai-initializer.json:/config/aai-initializer.json
AndyWalshe48496a52020-03-12 12:52:19 +000023 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
efiacore207b422020-04-23 10:36:54 +010032 LOG_LEVEL: "DEBUG"
33 SERVER_PORT: 10443
AndyWalshe48496a52020-03-12 12:52:19 +000034 volumes:
efiacore207b422020-04-23 10:36:54 +010035 - ./assets/cbs_sim/cbs_mockserver.properties:/config/mockserver.properties
36 - ./assets/cbs_sim/cbs-initializer.json:/config/cbs-initializer.json
37 - ./assets/ssl_certs/mock_server_cacert.pem:/var/tmp/mock_server_cacert.pem
38 - ./assets/ssl_certs/mock_server_key.pem:/var/tmp/mock_server_key.pem
AndyWalshe48496a52020-03-12 12:52:19 +000039 networks:
40 pmsh-network:
41
42 mr-sim:
43 container_name: mr-sim
44 image: mockserver/mockserver:mockserver-5.9.0
45 environment:
46 MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties
47 MOCKSERVER_INITIALIZATION_JSON_PATH: /config/mr-initializer.json
efiacore207b422020-04-23 10:36:54 +010048 LOG_LEVEL: "DEBUG"
49 SERVER_PORT: 3095
AndyWalshe48496a52020-03-12 12:52:19 +000050 volumes:
efiacore207b422020-04-23 10:36:54 +010051 - ./assets/mr_sim/mr_mockserver.properties:/config/mockserver.properties
52 - ./assets/mr_sim/mr-initializer.json:/config/mr-initializer.json
AndyWalshe48496a52020-03-12 12:52:19 +000053 networks:
54 pmsh-network:
55
AndyWalsheb412c7b2020-02-13 15:05:21 +000056 pmsh:
57 container_name: pmsh
efiacore207b422020-04-23 10:36:54 +010058 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pmsh:latest
AndyWalsheb412c7b2020-02-13 15:05:21 +000059 depends_on:
60 - db
61 volumes:
efiacore207b422020-04-23 10:36:54 +010062 - ./assets/ssl_certs/cert.pem:/opt/app/pmsh/etc/certs/cert.pem
63 - ./assets/ssl_certs/key.pem:/opt/app/pmsh/etc/certs/key.pem
64 - ./assets/ssl_certs/mock_server_cacert.pem:/opt/app/pmsh/etc/certs/cacert.pem
AndyWalsheb412c7b2020-02-13 15:05:21 +000065 environment:
66 HOSTNAME: "dcae-pmsh"
efiacore207b422020-04-23 10:36:54 +010067 CONFIG_BINDING_SERVICE: cbs-sim
AndyWalsheb412c7b2020-02-13 15:05:21 +000068 PMSH_PG_URL: db
69 PMSH_PG_USERNAME: $DB_USER
70 PMSH_PG_PASSWORD: $DB_PASSWORD
AndyWalshe48496a52020-03-12 12:52:19 +000071 AAI_SERVICE_HOST: aai-sim
efiacore207b422020-04-23 10:36:54 +010072 AAI_SERVICE_PORT: 1080
73 DCAE_CA_CERTPATH: '/opt/app/pmsh/etc/certs/cacert.pem'
AndyWalsheb412c7b2020-02-13 15:05:21 +000074 networks:
75 pmsh-network:
76
77networks:
78 pmsh-network:
79 driver: bridge