blob: dff4824cee7c6063033837484542d86deca0e482 [file] [log] [blame]
efiacor125390b2020-05-06 01:14:00 +01001version: '2.1'
2services:
3 datarouter-prov:
4 image: nexus3.onap.org:10001/onap/dmaap/datarouter-prov:latest
5 container_name: dmaap-datarouter-prov
6 hostname: dmaap-dr-prov
7 ports:
8 - "443:8443"
9 - "8443:8443"
10 - "8080:8080"
11 volumes:
12 - ../prov_data/provserver.properties:/opt/app/datartr/etc/provserver.properties
13 - ../prov_data/addSubscriber.txt:/opt/app/datartr/addSubscriber.txt
14 - ../prov_data/addFeed3.txt:/opt/app/datartr/addFeed3.txt
15 depends_on:
16 mariadb_container:
17 condition: service_healthy
18 healthcheck:
19 test: ["CMD", "curl", "-f", "http://dmaap-dr-prov:8080/internal/prov"]
20 interval: 10s
21 timeout: 10s
22 retries: 5
23 networks:
24 tmp_bulk-pm-network:
25 aliases:
26 - datarouter-prov
27 - dmaap-dr-prov
28
29 datarouter-node:
30 image: nexus3.onap.org:10001/onap/dmaap/datarouter-node:latest
31 container_name: dmaap-datarouter-node
32 hostname: dmaap-dr-node
33 ports:
34 - "9443:8443"
35 - "9090:8080"
36 volumes:
37 - ../node_data/node.properties:/opt/app/datartr/etc/node.properties
38 depends_on:
39 datarouter-prov:
40 condition: service_healthy
41 networks:
42 tmp_bulk-pm-network:
43 aliases:
44 - datarouter-node
45 - dmaap-dr-node
46
47 datarouter-subscriber:
48 image: nexus3.onap.org:10001/onap/dmaap/datarouter-subscriber:latest
49 container_name: fileconsumer-node
50 hostname: subscriber.com
51 ports:
52 - "7070:7070"
53 volumes:
54 - ../subscriber_data/subscriber.properties:/opt/app/subscriber/etc/subscriber.properties
55 networks:
56 tmp_bulk-pm-network:
57 aliases:
58 - datarouter-subscriber
59
60 mariadb_container:
61 image: mariadb:10.2.14
62 container_name: dmaap-dr-prov-mariadb
63 ports:
64 - "3306:3306"
65 environment:
66 MYSQL_ROOT_PASSWORD: datarouter
67 MYSQL_DATABASE: datarouter
68 MYSQL_USER: datarouter
69 MYSQL_PASSWORD: datarouter
70 healthcheck:
71 test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "--silent"]
72 interval: 10s
73 timeout: 30s
74 retries: 5
75 networks:
76 tmp_bulk-pm-network:
77 aliases:
78 - datarouter-mariadb
79
80 sftp:
81 container_name: sftp
82 image: atmoz/sftp
83 ports:
84 - "2222:22"
85 command: admin:admin:1001
86 networks:
87 tmp_bulk-pm-network:
88 aliases:
89 - sftp
90
91 ves:
92 container_name: dcaegen2-vescollector
93 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.4.4
94 environment:
95 DMAAPHOST: dmaap-message-router
96 networks:
97 tmp_bulk-pm-network:
98 aliases:
99 - dcaegen2-ves-collector
100
101 dfc:
102 container_name: dcaegen2-datafile-collector
103 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest
104 ports:
105 - "8433:8433"
106 volumes:
107 - ./dfc/application.yaml:/opt/app/datafile/config/application.yaml
108 - ./dfc/datafile_endpoints.json:/opt/app/datafile/config/datafile_endpoints.json
109 networks:
110 tmp_bulk-pm-network:
111 aliases:
112 - dcaegen2-datafile-collector
Remigiusz Janeczek92dff7d2020-07-15 15:22:57 +0200113 environment:
114 KNOWN_HOSTS_FILE_PATH: "/home/datafile/.ssh/known_hosts"
efiacor125390b2020-05-06 01:14:00 +0100115
116 cbs-sim:
117 container_name: config-binding-service-sim
118 image: mockserver/mockserver:mockserver-5.10.0
119 environment:
120 MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties
121 MOCKSERVER_INITIALIZATION_JSON_PATH: /config/cbs-initializer.json
122 LOG_LEVEL: "DEBUG"
123 SERVER_PORT: 10000
124 volumes:
125 - ./cbs_sim/cbs_mockserver.properties:/config/mockserver.properties
126 - ./cbs_sim/cbs-initializer.json:/config/cbs-initializer.json
127 networks:
128 tmp_bulk-pm-network:
129 aliases:
130 - config-binding-service
131
132 pmmapper:
133 container_name: dcaegen2-pm-mapper
134 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pm-mapper:latest
135 ports:
136 - "8081:8081"
137 volumes:
138 - ./pm_mapper_certs/cert.jks:/opt/app/pm-mapper/etc/cert.jks:ro
139 - ./pm_mapper_certs/jks.pass:/opt/app/pm-mapper/etc/jks.pass:ro
140 - ./pm_mapper_certs/trust.jks:/opt/app/pm-mapper/etc/trust.jks:ro
141 - ./pm_mapper_certs/trust.pass:/opt/app/pm-mapper/etc/trust.pass:ro
142 environment:
143 CONFIG_BINDING_SERVICE_SERVICE_HOST: config-binding-service
144 CONFIG_BINDING_SERVICE_SERVICE_PORT: 10000
145 HOSTNAME: pmmapper
146 networks:
147 tmp_bulk-pm-network:
148 aliases:
149 - dcae-pm-mapper
150
151networks:
152 tmp_bulk-pm-network:
153 external: true
154