1 #-------------------------------------------------------------------------------
\r
2 # ============LICENSE_START==================================================
\r
4 # * ===========================================================================
\r
5 # * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
\r
6 # * ===========================================================================
\r
7 # * Licensed under the Apache License, Version 2.0 (the "License");
\r
8 # * you may not use this file except in compliance with the License.
\r
9 # * You may obtain a copy of the License at
\r
11 # * http://www.apache.org/licenses/LICENSE-2.0
\r
13 # * Unless required by applicable law or agreed to in writing, software
\r
14 # * distributed under the License is distributed on an "AS IS" BASIS,
\r
15 # * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 # * See the License for the specific language governing permissions and
\r
17 # * limitations under the License.
\r
18 # * ============LICENSE_END====================================================
\r
20 # * ECOMP is a trademark and service mark of AT&T Intellectual Property.
\r
22 #-------------------------------------------------------------------------------
\r
26 image: nexus3.onap.org:10003/onap/dmaap/datarouter-prov
\r
27 container_name: datarouter-prov
\r
28 hostname: prov.datarouternew.com
\r
33 - ./prov_data/proserver.properties:/opt/app/datartr/etc/proserver.properties
\r
34 # - ./prov_data/datarouter-prov-jar-with-dependencies.jar:/opt/app/datartr/lib/datarouter-prov-jar-with-dependencies.jar
\r
35 - ./prov_data/addSubscriber.txt:/opt/app/datartr/addSubscriber.txt
\r
36 - ./prov_data/addFeed3.txt:/opt/app/datartr/addFeed3.txt
\r
37 entrypoint: ["bash", "-c", "./startup.sh"]
\r
40 condition: service_healthy
\r
42 test: ["CMD", "curl", "-f", "http://prov.datarouternew.com:8080/internal/prov"]
\r
47 - "node.datarouternew.com:172.100.0.4"
\r
50 ipv4_address: 172.100.0.3
\r
53 image: nexus3.onap.org:10003/onap/dmaap/datarouter-node
\r
54 container_name: datarouter-node
\r
55 hostname: node.datarouternew.com
\r
60 - ./node_data/node.properties:/opt/app/datartr/etc/node.properties
\r
61 entrypoint: ["bash", "-c", "./startup.sh"]
\r
64 condition: service_healthy
\r
66 - "prov.datarouternew.com:172.100.0.3"
\r
69 ipv4_address: 172.100.0.4
\r
72 image: mariadb:10.2.14
\r
73 container_name: mariadb
\r
77 MYSQL_ROOT_PASSWORD: datarouter
\r
78 MYSQL_DATABASE: datarouter
\r
79 MYSQL_USER: datarouter
\r
80 MYSQL_PASSWORD: datarouter
\r
82 test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
\r
89 ipv4_address: 172.100.0.2
\r
97 - subnet: 172.100.0.0/16
\r