blob: 6df60f1e4ac7f73277d1460e47d13fce9920d72f [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
efiacor49b46442020-07-06 11:55:44 +010014 aai:
AndyWalshe48496a52020-03-12 12:52:19 +000015 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
efiacor49b46442020-07-06 11:55:44 +010020 LOG_LEVEL: "DEBUG"
AndyWalshe48496a52020-03-12 12:52:19 +000021 volumes:
efiacore207b422020-04-23 10:36:54 +010022 - ./assets/aai_sim/aai_mockserver.properties:/config/mockserver.properties
23 - ./assets/aai_sim/aai-initializer.json:/config/aai-initializer.json
efiacor49b46442020-07-06 11:55:44 +010024 - ./assets/ssl_certs/mock_server_cacert.pem:/var/tmp/mock_server_cacert.pem
25 - ./assets/ssl_certs/mock_server_key.pem:/var/tmp/mock_server_key.pem
AndyWalshe48496a52020-03-12 12:52:19 +000026 networks:
27 pmsh-network:
28
29 cbs-sim:
30 container_name: cbs-sim
31 image: mockserver/mockserver:mockserver-5.9.0
32 environment:
33 MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties
34 MOCKSERVER_INITIALIZATION_JSON_PATH: /config/cbs-initializer.json
efiacore207b422020-04-23 10:36:54 +010035 LOG_LEVEL: "DEBUG"
36 SERVER_PORT: 10443
AndyWalshe48496a52020-03-12 12:52:19 +000037 volumes:
efiacore207b422020-04-23 10:36:54 +010038 - ./assets/cbs_sim/cbs_mockserver.properties:/config/mockserver.properties
39 - ./assets/cbs_sim/cbs-initializer.json:/config/cbs-initializer.json
40 - ./assets/ssl_certs/mock_server_cacert.pem:/var/tmp/mock_server_cacert.pem
41 - ./assets/ssl_certs/mock_server_key.pem:/var/tmp/mock_server_key.pem
AndyWalshe48496a52020-03-12 12:52:19 +000042 networks:
43 pmsh-network:
44
45 mr-sim:
46 container_name: mr-sim
47 image: mockserver/mockserver:mockserver-5.9.0
48 environment:
49 MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties
50 MOCKSERVER_INITIALIZATION_JSON_PATH: /config/mr-initializer.json
efiacore207b422020-04-23 10:36:54 +010051 LOG_LEVEL: "DEBUG"
52 SERVER_PORT: 3095
AndyWalshe48496a52020-03-12 12:52:19 +000053 volumes:
efiacore207b422020-04-23 10:36:54 +010054 - ./assets/mr_sim/mr_mockserver.properties:/config/mockserver.properties
55 - ./assets/mr_sim/mr-initializer.json:/config/mr-initializer.json
AndyWalshe48496a52020-03-12 12:52:19 +000056 networks:
57 pmsh-network:
58
AndyWalsheb412c7b2020-02-13 15:05:21 +000059 pmsh:
60 container_name: pmsh
efiacore207b422020-04-23 10:36:54 +010061 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pmsh:latest
AndyWalsheb412c7b2020-02-13 15:05:21 +000062 depends_on:
63 - db
64 volumes:
efiacore207b422020-04-23 10:36:54 +010065 - ./assets/ssl_certs/cert.pem:/opt/app/pmsh/etc/certs/cert.pem
66 - ./assets/ssl_certs/key.pem:/opt/app/pmsh/etc/certs/key.pem
67 - ./assets/ssl_certs/mock_server_cacert.pem:/opt/app/pmsh/etc/certs/cacert.pem
AndyWalsheb412c7b2020-02-13 15:05:21 +000068 environment:
69 HOSTNAME: "dcae-pmsh"
efiacore207b422020-04-23 10:36:54 +010070 CONFIG_BINDING_SERVICE: cbs-sim
AndyWalsheb412c7b2020-02-13 15:05:21 +000071 PMSH_PG_URL: db
72 PMSH_PG_USERNAME: $DB_USER
73 PMSH_PG_PASSWORD: $DB_PASSWORD
efiacore207b422020-04-23 10:36:54 +010074 AAI_SERVICE_PORT: 1080
75 DCAE_CA_CERTPATH: '/opt/app/pmsh/etc/certs/cacert.pem'
AndyWalsheb412c7b2020-02-13 15:05:21 +000076 networks:
77 pmsh-network:
78
79networks:
80 pmsh-network:
81 driver: bridge