aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/dcaegen2/prh-testcases/resources/docker-compose.yml
blob: 03e84b388a27d46bbeaca71032d29495205df39c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: '3'
services:
  prh:
    image: nexus3.onap.org:10003/onap/org.onap.dcaegen2.services.prh.prh-app-server
    command: >
          --dmaap.dmaapConsumerConfiguration.dmaapPortNumber=2222
          --dmaap.dmaapProducerConfiguration.dmaapPortNumber=2222
          --aai.aaiClientConfiguration.aaiHostPortNumber=3333
          --aai.aaiClientConfiguration.aaiProtocol=http
    entrypoint:
      - java
      - -Dspring.profiles.active=dev
      - -Dlogging.level.org.onap.dcaegen2.services.prh=TRACE
      - -jar
      - /opt/prh-app-server.jar
    ports:
      - "8100:8100"
      - "8433:8433"
    container_name: prh
    depends_on:
     - dmaap_simulator
     - aai_simulator

  dmaap_simulator:
    build:
      context: simulator
      dockerfile: DMaaP_simulator
      args:
        - https_proxy=${HTTPS_PROXY}
    ports:
      - "2222:2222"
    container_name: dmaap_simulator

  aai_simulator:
     build:
       context: simulator
       dockerfile: AAI_simulator
       args:
         - https_proxy=${HTTPS_PROXY}
     ports:
      - "3333:3333"
     container_name: aai_simulator