Update PRH tests to use file based conifg
[integration/csit.git] / tests / dcaegen2 / prh-testcases / resources / docker-compose.yml
1 version: "2.2"
2 services:
3   prh:
4     image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.prh.prh-app-server:latest
5     ports:
6       - "8100:8100"
7       - "8433:8433"
8     volumes:
9       - ./simulator/certs:/tmp/certs
10       - ./prh_configs/prh_config_volume:/app-config
11     environment:
12       - HOSTNAME=dcae-prh
13       - CONSUL_HOST                # not in use, but still required by SDK - should be removed later on
14       - CONFIG_BINDING_SERVICE
15       - CONFIG_BINDING_SERVICE_SERVICE_PORT
16     container_name: prh
17     depends_on:
18       dmaap-mr:
19         condition: service_started
20       aai:
21         condition: service_started
22
23   dmaap-mr:
24     build:
25       context: simulator
26       dockerfile: DMaaP_simulator
27     ports:
28       - "2222:2222"
29       - "2223:2223"
30       - "2224:2224"
31     container_name: dmaap_simulator
32
33   aai:
34     build:
35       context: simulator
36       dockerfile: AAI_simulator
37     ports:
38       - "3333:3333"
39       - "3334:3334"
40       - "3335:3335"
41     container_name: aai_simulator