Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 1 | version: "3" |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 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 |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 13 | ports: |
| 14 | - "8100:8100" |
| 15 | - "8433:8433" |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 16 | environment: |
| 17 | - LOG_LEVEL |
| 18 | - PRH_LOG_LEVEL |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 19 | container_name: prh |
| 20 | depends_on: |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 21 | - cbs |
Piotr Bocheński | beebb96 | 2019-01-25 15:38:39 +0100 | [diff] [blame] | 22 | - dmaap-bc |
| 23 | - aai |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 24 | |
pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 25 | ssl_prh: |
Piotr Bocheński | beebb96 | 2019-01-25 15:38:39 +0100 | [diff] [blame] | 26 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.prh.prh-app-server:latest |
| 27 | command: > |
| 28 | --dmaap.dmaapConsumerConfiguration.dmaapHostName=dmaap-bc |
| 29 | --dmaap.dmaapConsumerConfiguration.dmaapPortNumber=2223 |
| 30 | --dmaap.dmaapConsumerConfiguration.dmaapProtocol=https |
| 31 | --dmaap.dmaapProducerConfiguration.dmaapHostName=dmaap-bc |
| 32 | --dmaap.dmaapProducerConfiguration.dmaapPortNumber=2223 |
| 33 | --dmaap.dmaapProducerConfiguration.dmaapProtocol=https |
| 34 | --aai.aaiClientConfiguration.aaiHostPortNumber=3334 |
| 35 | --aai.aaiClientConfiguration.aaiHost=aai |
| 36 | --aai.aaiClientConfiguration.aaiProtocol=https |
| 37 | --security.enableAaiCertAuth=true |
| 38 | --security.enableDmaapCertAuth=true |
| 39 | --security.keyStorePath=/tmp/certs/org.onap.dcae.jks |
| 40 | --security.keyStorePasswordPath=/tmp/certs/keystore.password |
| 41 | --security.trustStorePath=/tmp/certs/org.onap.dcae.trust.jks |
| 42 | --security.trustStorePasswordPath=/tmp/certs/truststore.password |
| 43 | ports: |
| 44 | - "8200:8100" |
| 45 | - "8533:8433" |
| 46 | volumes: |
| 47 | - ./simulator/certs:/tmp/certs |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 48 | environment: |
| 49 | - LOG_LEVEL |
| 50 | - PRH_LOG_LEVEL |
| 51 | - HOSTNAME |
| 52 | - CONSUL_HOST |
| 53 | - CONFIG_BINDING_SERVICE |
Piotr Bocheński | beebb96 | 2019-01-25 15:38:39 +0100 | [diff] [blame] | 54 | container_name: ssl_prh |
| 55 | depends_on: |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 56 | - cbs |
Piotr Bocheński | beebb96 | 2019-01-25 15:38:39 +0100 | [diff] [blame] | 57 | - dmaap-bc |
| 58 | - aai |
pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 59 | |
pkaras | c4b24af | 2018-11-07 09:02:47 +0100 | [diff] [blame] | 60 | dmaap-bc: |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 61 | build: |
| 62 | context: simulator |
| 63 | dockerfile: DMaaP_simulator |
| 64 | ports: |
| 65 | - "2222:2222" |
pkaras | c7abba8 | 2018-10-22 12:22:35 +0200 | [diff] [blame] | 66 | - "2223:2223" |
| 67 | - "2224:2224" |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 68 | container_name: dmaap_simulator |
| 69 | |
| 70 | aai: |
Piotr Bocheński | beebb96 | 2019-01-25 15:38:39 +0100 | [diff] [blame] | 71 | build: |
| 72 | context: simulator |
| 73 | dockerfile: AAI_simulator |
| 74 | ports: |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 75 | - "3333:3333" |
pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 76 | - "3334:3334" |
| 77 | - "3335:3335" |
Piotr Bocheński | beebb96 | 2019-01-25 15:38:39 +0100 | [diff] [blame] | 78 | container_name: aai_simulator |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 79 | |
| 80 | consul: |
| 81 | image: docker.io/consul:1.0.6 |
| 82 | ports: |
| 83 | - "8500:8500" |
| 84 | command: ["agent", "-bootstrap", "-client=0.0.0.0", "-server", "-config-dir=/consul/consul.d"] |
| 85 | volumes: |
| 86 | - ./consul.d/:/consul/consul.d |
| 87 | |
| 88 | consul-cfg: |
| 89 | image: docker.io/consul:1.0.6 |
| 90 | restart: on-failure |
| 91 | command: ["kv", "put", "-http-addr=http://consul-server:8500", "dcae-prh", '{ |
| 92 | "dmaap.dmaapConsumerConfiguration.dmaapHostName":"dmaap-bc", |
| 93 | "dmaap.dmaapConsumerConfiguration.dmaapPortNumber":2223, |
| 94 | "dmaap.dmaapConsumerConfiguration.dmaapProtocol":"https", |
| 95 | "dmaap.dmaapProducerConfiguration.dmaapHostName":"dmaap-bc", |
| 96 | "dmaap.dmaapProducerConfiguration.dmaapPortNumber":2223, |
| 97 | "dmaap.dmaapProducerConfiguration.dmaapProtocol":"https", |
| 98 | "aai.aaiClientConfiguration.aaiHostPortNumber":3334, |
| 99 | "aai.aaiClientConfiguration.aaiHost":"aai", |
| 100 | "aai.aaiClientConfiguration.aaiProtocol":"https", |
| 101 | "security.enableAaiCertAuth":"true", |
| 102 | "security.enableDmaapCertAuth":"true", |
| 103 | "security.keyStorePath":"/tmp/certs/org.onap.dcae.jks", |
| 104 | "security.keyStorePasswordPath":"/tmp/certs/keystore.password", |
| 105 | "security.trustStorePath":"/tmp/certs/org.onap.dcae.trust.jks", |
| 106 | "security.trustStorePasswordPath":"/tmp/certs/truststore.password" |
| 107 | }' |
| 108 | ] |
| 109 | depends_on: |
| 110 | - consul |
| 111 | |
| 112 | cbs: |
| 113 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:2.2.4 |
| 114 | ports: |
| 115 | - "10000:10000" |
| 116 | environment: |
| 117 | - CONSUL_HOST |
| 118 | depends_on: |
| 119 | - consul-cfg |