blob: 8b6ea128843ff577b8ca7982c1a967d4068db115 [file] [log] [blame]
Piotr Bocheński2378ea12019-03-12 16:49:08 +01001version: "3"
Gary Wu9abb61c2018-09-27 10:38:50 -07002services:
3 prh:
4 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.prh.prh-app-server:latest
5 command: >
pkarasc4b24af2018-11-07 09:02:47 +01006 --dmaap.dmaapConsumerConfiguration.dmaapHostName=dmaap-bc
Gary Wu9abb61c2018-09-27 10:38:50 -07007 --dmaap.dmaapConsumerConfiguration.dmaapPortNumber=2222
pkarasc4b24af2018-11-07 09:02:47 +01008 --dmaap.dmaapProducerConfiguration.dmaapHostName=dmaap-bc
Gary Wu9abb61c2018-09-27 10:38:50 -07009 --dmaap.dmaapProducerConfiguration.dmaapPortNumber=2222
10 --aai.aaiClientConfiguration.aaiHostPortNumber=3333
11 --aai.aaiClientConfiguration.aaiHost=aai
12 --aai.aaiClientConfiguration.aaiProtocol=http
Gary Wu9abb61c2018-09-27 10:38:50 -070013 ports:
14 - "8100:8100"
15 - "8433:8433"
Piotr Bocheński2378ea12019-03-12 16:49:08 +010016 environment:
17 - LOG_LEVEL
18 - PRH_LOG_LEVEL
Gary Wu9abb61c2018-09-27 10:38:50 -070019 container_name: prh
20 depends_on:
Piotr Bocheński2378ea12019-03-12 16:49:08 +010021 - cbs
Piotr Bocheńskibeebb962019-01-25 15:38:39 +010022 - dmaap-bc
23 - aai
Gary Wu9abb61c2018-09-27 10:38:50 -070024
pkaras55d36862018-10-17 15:08:34 +020025 ssl_prh:
Piotr Bocheńskibeebb962019-01-25 15:38:39 +010026 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ński2378ea12019-03-12 16:49:08 +010048 environment:
49 - LOG_LEVEL
50 - PRH_LOG_LEVEL
51 - HOSTNAME
52 - CONSUL_HOST
53 - CONFIG_BINDING_SERVICE
Piotr Bocheńskibeebb962019-01-25 15:38:39 +010054 container_name: ssl_prh
55 depends_on:
Piotr Bocheński2378ea12019-03-12 16:49:08 +010056 - cbs
Piotr Bocheńskibeebb962019-01-25 15:38:39 +010057 - dmaap-bc
58 - aai
pkaras55d36862018-10-17 15:08:34 +020059
pkarasc4b24af2018-11-07 09:02:47 +010060 dmaap-bc:
Gary Wu9abb61c2018-09-27 10:38:50 -070061 build:
62 context: simulator
63 dockerfile: DMaaP_simulator
64 ports:
65 - "2222:2222"
pkarasc7abba82018-10-22 12:22:35 +020066 - "2223:2223"
67 - "2224:2224"
Gary Wu9abb61c2018-09-27 10:38:50 -070068 container_name: dmaap_simulator
69
70 aai:
Piotr Bocheńskibeebb962019-01-25 15:38:39 +010071 build:
72 context: simulator
73 dockerfile: AAI_simulator
74 ports:
Gary Wu9abb61c2018-09-27 10:38:50 -070075 - "3333:3333"
pkaras55d36862018-10-17 15:08:34 +020076 - "3334:3334"
77 - "3335:3335"
Piotr Bocheńskibeebb962019-01-25 15:38:39 +010078 container_name: aai_simulator
Piotr Bocheński2378ea12019-03-12 16:49:08 +010079
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