blob: 6541ddbfb7bb8728b67bc43a0fd7daa14729435b [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:
efiacor830e11d2021-01-29 14:28:34 +000012 dockercompose_net:
13 aliases:
14 - db
AndyWalsheb412c7b2020-02-13 15:05:21 +000015
efiacor49b46442020-07-06 11:55:44 +010016 aai:
AndyWalshe48496a52020-03-12 12:52:19 +000017 container_name: aai-sim
18 image: mockserver/mockserver:mockserver-5.9.0
19 environment:
20 MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties
21 MOCKSERVER_INITIALIZATION_JSON_PATH: /config/aai-initializer.json
efiacor49b46442020-07-06 11:55:44 +010022 LOG_LEVEL: "DEBUG"
AndyWalshe48496a52020-03-12 12:52:19 +000023 volumes:
efiacore207b422020-04-23 10:36:54 +010024 - ./assets/aai_sim/aai_mockserver.properties:/config/mockserver.properties
25 - ./assets/aai_sim/aai-initializer.json:/config/aai-initializer.json
efiacor49b46442020-07-06 11:55:44 +010026 - ./assets/ssl_certs/mock_server_cacert.pem:/var/tmp/mock_server_cacert.pem
27 - ./assets/ssl_certs/mock_server_key.pem:/var/tmp/mock_server_key.pem
AndyWalshe48496a52020-03-12 12:52:19 +000028 networks:
efiacor830e11d2021-01-29 14:28:34 +000029 dockercompose_net:
30 aliases:
31 - aai-sim
AndyWalshe48496a52020-03-12 12:52:19 +000032
33 cbs-sim:
34 container_name: cbs-sim
35 image: mockserver/mockserver:mockserver-5.9.0
36 environment:
37 MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties
38 MOCKSERVER_INITIALIZATION_JSON_PATH: /config/cbs-initializer.json
efiacore207b422020-04-23 10:36:54 +010039 LOG_LEVEL: "DEBUG"
40 SERVER_PORT: 10443
AndyWalshe48496a52020-03-12 12:52:19 +000041 volumes:
efiacore207b422020-04-23 10:36:54 +010042 - ./assets/cbs_sim/cbs_mockserver.properties:/config/mockserver.properties
43 - ./assets/cbs_sim/cbs-initializer.json:/config/cbs-initializer.json
44 - ./assets/ssl_certs/mock_server_cacert.pem:/var/tmp/mock_server_cacert.pem
45 - ./assets/ssl_certs/mock_server_key.pem:/var/tmp/mock_server_key.pem
AndyWalshe48496a52020-03-12 12:52:19 +000046 networks:
efiacor830e11d2021-01-29 14:28:34 +000047 dockercompose_net:
48 aliases:
49 - cbs-sim
AndyWalshe48496a52020-03-12 12:52:19 +000050
AndyWalsheb412c7b2020-02-13 15:05:21 +000051 pmsh:
52 container_name: pmsh
efiacore207b422020-04-23 10:36:54 +010053 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pmsh:latest
AndyWalsheb412c7b2020-02-13 15:05:21 +000054 depends_on:
55 - db
56 volumes:
efiacore207b422020-04-23 10:36:54 +010057 - ./assets/ssl_certs/cert.pem:/opt/app/pmsh/etc/certs/cert.pem
58 - ./assets/ssl_certs/key.pem:/opt/app/pmsh/etc/certs/key.pem
59 - ./assets/ssl_certs/mock_server_cacert.pem:/opt/app/pmsh/etc/certs/cacert.pem
AndyWalsheb412c7b2020-02-13 15:05:21 +000060 environment:
61 HOSTNAME: "dcae-pmsh"
efiacore207b422020-04-23 10:36:54 +010062 CONFIG_BINDING_SERVICE: cbs-sim
AndyWalsheb412c7b2020-02-13 15:05:21 +000063 PMSH_PG_URL: db
64 PMSH_PG_USERNAME: $DB_USER
65 PMSH_PG_PASSWORD: $DB_PASSWORD
efiacore207b422020-04-23 10:36:54 +010066 AAI_SERVICE_PORT: 1080
67 DCAE_CA_CERTPATH: '/opt/app/pmsh/etc/certs/cacert.pem'
AndyWalsheb412c7b2020-02-13 15:05:21 +000068 networks:
efiacor830e11d2021-01-29 14:28:34 +000069 dockercompose_net:
70 aliases:
71 - pmsh
AndyWalsheb412c7b2020-02-13 15:05:21 +000072
73networks:
efiacor830e11d2021-01-29 14:28:34 +000074 dockercompose_net:
75 external: true
76