forked from eclipse-basyx/basyx-java-server-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
228 lines (210 loc) · 5.86 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
version: '3.6'
networks:
basyx-submodel:
internal: false
mongo-submodel:
internal: false
volumes:
zookeeper-data:
driver: local
zookeeper-log:
driver: local
kafka-data:
driver: local
mongodb-data-5.0.10:
driver: local
submodel-config:
services:
portainer:
image: portainer/portainer-ce:2.0.1
container_name: portainer
restart: always
ports:
- "9091:9000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- basyx-submodel
zookeeper:
image: zookeeper:3.6
container_name: zookeeper
restart: always
ports:
- "2182:2181"
volumes:
- zookeeper-data:/var/lib/zookeeper/data
- zookeeper-log:/var/lib/zookeeper/log
networks:
- basyx-submodel
kafka:
image: confluentinc/cp-kafka:6.2.1
container_name: kafka
volumes:
- kafka-data:/var/lib/kafka
ports:
- "9093:9092"
environment:
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:29092,PLAINTEXT_HOST://localhost:9093
KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
links:
- zookeeper
restart: always
networks:
- basyx-submodel
akhq:
image: tchiotludo/akhq:0.24.0
container_name: akhq
environment:
AKHQ_CONFIGURATION: |
akhq:
connections:
docker-kafka-server:
properties:
bootstrap.servers: "kafka:29092"
ports:
- 8087:8080
restart: always
depends_on:
- kafka
networks:
- basyx-submodel
mongodb:
image: mongo:5.0.10
container_name: mongodb
environment:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: admin
ports:
- 27018:27017
volumes:
- mongodb-data-5.0.10:/data/db
networks:
- basyx-submodel
mongo-express:
image: mongo-express:1.0.0-alpha.4
container_name: mongo-express
environment:
ME_CONFIG_MONGODB_SERVER: mongodb
ME_CONFIG_MONGODB_ADMINUSERNAME: admin
ME_CONFIG_MONGODB_ADMINPASSWORD: admin
ME_CONFIG_MONGODB_URL: mongodb://admin:admin@mongodb:27017/
ports:
- "0.0.0.0:8082:8081"
networks:
- basyx-submodel
restart: always
depends_on:
- mongodb
submodel-registry-kafka-mongodb:
image: submodel-registry-test/submodel-registry-kafka-mongodb:2.0.0-SNAPSHOT
container_name: submodel-registry-kafka-mongodb
pull_policy: never
ports:
- "8024:8080"
depends_on:
- mongodb
- kafka
restart: always
environment:
KAFKA_BOOTSTRAP_SERVERS: PLAINTEXT://kafka:29092
SPRING_DATA_MONGODB_URI: mongodb://admin:admin@mongodb:27017
networks:
- basyx-submodel
submodel-registry-kafka-mongodb-different-port-path:
image: submodel-registry-test/submodel-registry-kafka-mongodb:2.0.0-SNAPSHOT
container_name: submodel-registry-kafka-mongodb-different-port-path
pull_policy: never
ports:
- "8025:8091"
depends_on:
- mongodb
- kafka
restart: always
environment:
KAFKA_BOOTSTRAP_SERVERS: PLAINTEXT://kafka:29092
SPRING_DATA_MONGODB_URI: mongodb://admin:admin@mongodb:27017
SERVER_PORT: "8091"
SERVER_SERVLET_CONTEXT_PATH: /api/v3.0.1/
networks:
- basyx-submodel
submodel-registry-kafka-mem:
image: submodel-registry-test/submodel-registry-kafka-mem:2.0.0-SNAPSHOT
container_name: submodel-registry-kafka-mem
pull_policy: never
ports:
- "8035:8080"
depends_on:
- kafka
restart: always
environment:
KAFKA_BOOTSTRAP_SERVERS: PLAINTEXT://kafka:29092
networks:
- basyx-submodel
submodel-registry-kafka-mem-different-port-path:
image: submodel-registry-test/submodel-registry-kafka-mem:2.0.0-SNAPSHOT
container_name: submodel-registry-kafka-mem-different-port-path
pull_policy: never
ports:
- "8036:8091"
depends_on:
- kafka
restart: always
environment:
KAFKA_BOOTSTRAP_SERVERS: PLAINTEXT://kafka:29092
SERVER_PORT: "8091"
SERVER_SERVLET_CONTEXT_PATH: /api/v3.0.1/
networks:
- basyx-submodel
submodel-registry-log-mem:
image: submodel-registry-test/submodel-registry-log-mem:2.0.0-SNAPSHOT
container_name: submodel-registry-log-mem
pull_policy: never
ports:
- "8043:8080"
restart: always
networks:
- basyx-submodel
submodel-registry-log-mem-different-port-path:
image: submodel-registry-test/submodel-registry-log-mem:2.0.0-SNAPSHOT
container_name: submodel-registry-log-mem-different-port-path
pull_policy: never
ports:
- "8044:8091"
restart: always
environment:
SERVER_PORT: "8091"
SERVER_SERVLET_CONTEXT_PATH: /api/v3.0.1/
networks:
- basyx-submodel
submodel-registry-log-mongodb:
image: submodel-registry-test/submodel-registry-log-mongodb:2.0.0-SNAPSHOT
container_name: submodel-registry-log-mongodb
pull_policy: never
ports:
- "8053:8080"
depends_on:
- mongodb
restart: always
environment:
SPRING_DATA_MONGODB_URI: mongodb://admin:admin@mongodb:27017
networks:
- basyx-submodel
submodel-registry-log-mongodb-different-port-path:
image: submodel-registry-test/submodel-registry-log-mongodb:2.0.0-SNAPSHOT
container_name: submodel-registry-log-mongodb-different-port-path
pull_policy: never
ports:
- "8054:8091"
depends_on:
- mongodb
restart: always
environment:
SPRING_DATA_MONGODB_URI: mongodb://admin:admin@mongodb:27017
SERVER_PORT: "8091"
SERVER_SERVLET_CONTEXT_PATH: /api/v3.0.1/
networks:
- basyx-submodel