Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 1 | version: '3' |
| 2 | services: |
| 3 | prh: |
| 4 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.prh.prh-app-server:latest |
| 5 | command: > |
pkaras | c4b24af | 2018-11-07 09:02:47 +0100 | [diff] [blame] | 6 | --dmaap.dmaapConsumerConfiguration.dmaapHostName=dmaap-bc |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 7 | --dmaap.dmaapConsumerConfiguration.dmaapPortNumber=2222 |
pkaras | c4b24af | 2018-11-07 09:02:47 +0100 | [diff] [blame] | 8 | --dmaap.dmaapProducerConfiguration.dmaapHostName=dmaap-bc |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 9 | --dmaap.dmaapProducerConfiguration.dmaapPortNumber=2222 |
| 10 | --aai.aaiClientConfiguration.aaiHostPortNumber=3333 |
| 11 | --aai.aaiClientConfiguration.aaiHost=aai |
| 12 | --aai.aaiClientConfiguration.aaiProtocol=http |
| 13 | entrypoint: |
| 14 | - java |
| 15 | - -Dspring.profiles.active=dev |
| 16 | - -Dlogging.level.org.onap.dcaegen2.services.prh=TRACE |
| 17 | - -jar |
| 18 | - /opt/prh-app-server.jar |
| 19 | ports: |
| 20 | - "8100:8100" |
| 21 | - "8433:8433" |
| 22 | container_name: prh |
| 23 | depends_on: |
pkaras | c4b24af | 2018-11-07 09:02:47 +0100 | [diff] [blame] | 24 | - dmaap-bc |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 25 | - aai |
| 26 | |
pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 27 | ssl_prh: |
| 28 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.prh.prh-app-server:latest |
| 29 | command: > |
pkaras | c4b24af | 2018-11-07 09:02:47 +0100 | [diff] [blame] | 30 | --dmaap.dmaapConsumerConfiguration.dmaapHostName=dmaap-bc |
| 31 | --dmaap.dmaapConsumerConfiguration.dmaapPortNumber=2223 |
| 32 | --dmaap.dmaapConsumerConfiguration.dmaapProtocol=https |
| 33 | --dmaap.dmaapProducerConfiguration.dmaapHostName=dmaap-bc |
| 34 | --dmaap.dmaapProducerConfiguration.dmaapPortNumber=2223 |
| 35 | --dmaap.dmaapProducerConfiguration.dmaapProtocol=https |
| 36 | --aai.aaiClientConfiguration.aaiHostPortNumber=3334 |
pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 37 | --aai.aaiClientConfiguration.aaiHost=aai |
pkaras | c4b24af | 2018-11-07 09:02:47 +0100 | [diff] [blame] | 38 | --aai.aaiClientConfiguration.aaiProtocol=https |
| 39 | --security.enableAaiCertAuth=true |
| 40 | --security.enableDmaapCertAuth=true |
| 41 | --security.keyStorePath=/tmp/certs/org.onap.dcae.jks |
| 42 | --security.keyStorePasswordPath=/tmp/certs/keystore.password |
| 43 | --security.trustStorePath=/tmp/certs/org.onap.dcae.trust.jks |
| 44 | --security.trustStorePasswordPath=/tmp/certs/truststore.password |
pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 45 | entrypoint: |
| 46 | - java |
| 47 | - -Dspring.profiles.active=dev |
| 48 | - -Dlogging.level.org.onap.dcaegen2.services.prh=TRACE |
| 49 | - -jar |
| 50 | - /opt/prh-app-server.jar |
| 51 | ports: |
| 52 | - "8200:8100" |
| 53 | - "8533:8433" |
pkaras | c4b24af | 2018-11-07 09:02:47 +0100 | [diff] [blame] | 54 | volumes: |
| 55 | - ./simulator/certs:/tmp/certs |
pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 56 | container_name: ssl_prh |
| 57 | depends_on: |
pkaras | c4b24af | 2018-11-07 09:02:47 +0100 | [diff] [blame] | 58 | - dmaap-bc |
pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 59 | - aai |
| 60 | |
pkaras | c4b24af | 2018-11-07 09:02:47 +0100 | [diff] [blame] | 61 | dmaap-bc: |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 62 | build: |
| 63 | context: simulator |
| 64 | dockerfile: DMaaP_simulator |
| 65 | ports: |
| 66 | - "2222:2222" |
pkaras | c7abba8 | 2018-10-22 12:22:35 +0200 | [diff] [blame] | 67 | - "2223:2223" |
| 68 | - "2224:2224" |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 69 | container_name: dmaap_simulator |
| 70 | |
| 71 | aai: |
| 72 | build: |
| 73 | context: simulator |
| 74 | dockerfile: AAI_simulator |
| 75 | ports: |
| 76 | - "3333:3333" |
pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 77 | - "3334:3334" |
| 78 | - "3335:3335" |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 79 | container_name: aai_simulator |