-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathdocker-compose.BAD.yml
524 lines (444 loc) · 26 KB
/
docker-compose.BAD.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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
--- #------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# Copyright 2019 Robert Cowart
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
version: '3'
networkss:
kafka:
services:
zookeeper:
image: confluentinc/cp-zookeeper:5.3.1-1
container_name: zookeeper
restart: 'no'
hostname: zookeeper
networks:
- kafka
ports:
# Client
- 2181:2181/tcp
# Peer
- 2888:2888/tcp
# Leader
- 3888:3888/tcp
# JMX
- 10020:10020/tcp
- 10021:10021/tcp
volumes:
- /var/lib/zookeeper/data:/var/lib/zookeeper/data
- /var/lib/zookeeper/log:/var/lib/zookeeper/log
- /var/log/zookeeper:/var/log/zookeeper
environment:
########## JVM ##########
# JVM heap size.
KAFKA_HEAP_OPTS: '-Xms512m -Xmx512m'
# JMX Settings.
KAFKA_JMX_HOSTNAME: 127.0.0.1
KAFKA_JMX_PORT: 10020
#KAFKA_JMX_OPTS: '-Djava.rmi.server.hostname=127.0.0.1 -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=10020 -Dcom.sun.management.jmxremote.rmi.port=10021 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false'
# The directory where ZooKeeper logs will be stored.
LOG_DIR: /var/log/zookeeper
########## Minimum Configuration ##########
# clientPort
# the port to listen for client connections; that is, the port that clients attempt to connect to.
ZOOKEEPER_CLIENT_PORT: 2181
# dataDir
# the location where ZooKeeper will store the in-memory database snapshots and, unless specified otherwise, the
# transaction log of updates to the database.
# NOTE - Be careful where you put the transaction log. A dedicated transaction log device is key to consistent
# good performance. Putting the log on a busy device will adversely effect performance.
ZOOKEEPER_DATA_DIR: /var/lib/zookeeper
# tickTime
# the length of a single tick, which is the basic time unit used by ZooKeeper, as measured in milliseconds. It
# is used to regulate heartbeats, and timeouts. For example, the minimum session timeout will be two ticks.
ZOOKEEPER_TICK_TIME: 2000
########## Cluster Options ##########
# The options in this section are designed for use with an ensemble of servers -- that is, when deploying
# clusters of servers.
# The id must be unique within the ensemble and should have a value between 1 and 255.
ZOOKEEPER_SERVER_ID: 1
# server.x=[hostname]:nnnnn[:nnnnn], etc (No Java system property)
# servers making up the ZooKeeper ensemble. When the server starts up, it determines which server it is by
# looking for the file myid in the data directory. That file contains the server number, in ASCII, and it
# should match x in server.x in the left hand side of this setting. There are two port numbers nnnnn. The first
# followers use to connect to the leader, and the second is for leader election. The leader election port is
# only necessary if electionAlg is 1, 2, or 3 (default). If electionAlg is 0, then the second port is not
# necessary. If you want to test multiple servers on a single machine, then different ports can be used for
# each server.
# IMPORTANT - The list of servers that make up ZooKeeper servers that is used by the clients must match the
# list of ZooKeeper servers that each ZooKeeper server has.
ZOOKEEPER_SERVERS: 'zookeeper:2888:3888'
# initLimit (No Java system property)
# Amount of time, in ticks (see tickTime), to allow followers to connect and sync to a leader. Increased this
# value as needed, if the amount of data managed by ZooKeeper is large.
ZOOKEEPER_INIT_LIMIT: 5
# syncLimit (No Java system property)
# Amount of time, in ticks (see tickTime), to allow followers to sync with ZooKeeper. If followers fall too far
# behind a leader, they will be dropped.
ZOOKEEPER_SYNC_LIMIT: 2
# electionAlg (No Java system property)
# Election implementation to use.
# 0 - (deprecated) corresponds to the original UDP-based version
# 1 - (deprecated) corresponds to the non-authenticated UDP-based version of fast leader election
# 2 - (deprecated) corresponds to the authenticated UDP-based version of fast leader election
# 3 - corresponds to TCP-based version of fast leader election.
# Currently, algorithm 3 is the default
#ZOOKEEPER_ELECTION_ALG: 3
# leaderServes (Java system property: zookeeper.leaderServes)
# Leader accepts client connections. Default value is "yes". The leader machine coordinates updates. For higher
# update throughput at thes slight expense of read throughput the leader can be configured to not accept
# clients and focus on coordination. The default to this option is yes.
# NOTE - Turning on leader selection is highly recommended when you have more than three ZooKeeper servers in
# an ensemble.
#ZOOKEEPER_LEADER_SERVES: 'yes'
########## Advanced Configuration ##########
# dataLogDir
# This option will direct the machine to write the transaction log to the dataLogDir rather than the dataDir.
# This allows a dedicated log device to be used, and helps avoid competition between logging and snaphots.
# NOTE - Having a dedicated log device has a large impact on throughput and stable latencies. It is highly
# recommened to dedicate a log device and set dataLogDir to point to a directory on that device, and
# then make sure to point dataDir to a directory not residing on that device.
#ZOOKEEPER_DATA_LOG_DIR: ''
# globalOutstandingLimit (Java system property: zookeeper.globalOutstandingLimit.)
# Clients can submit requests faster than ZooKeeper can process them, especially if there are a lot of clients.
# To prevent ZooKeeper from running out of memory due to queued requests, ZooKeeper will throttle clients so
# that there is no more than globalOutstandingLimit outstanding requests in the system. The default limit is
# 1,000.
ZOOKEEPER_GLOBAL_OUTSTANDING_LIMIT: 1000
# preAllocSize (Java system property: zookeeper.preAllocSize)
# To avoid seeks ZooKeeper allocates space in the transaction log file in blocks of preAllocSize kilobytes. The
# default block size is 64M. One reason for changing the size of the blocks is to reduce the block size if
# snapshots are taken more often. (Also, see snapCount).
#ZOOKEEPER_PRE_ALLOC_SIZE: ''
# snapCount (Java system property: zookeeper.snapCount)
# ZooKeeper logs transactions to a transaction log. After snapCount transactions are written to a log file a
# snapshot is started and a new transaction log file is created. The default snapCount is 100,000.
ZOOKEEPER_SNAP_COUNT: 100000
# maxClientCnxns (No Java system property)
# Limits the number of concurrent connections (at the socket level) that a single client, identified by IP
# address, may make to a single member of the ZooKeeper ensemble. This is used to prevent certain classes of
# DoS attacks, including file descriptor exhaustion. The default is 60. Setting this to 0 entirely removes the
# limit on concurrent connections.
ZOOKEEPER_MAX_CLIENT_CNXNS: 60
# clientPortAddress
# the address (ipv4, ipv6 or hostname) to listen for client connections; that is, the address that clients
# attempt to connect to. This is optional, by default we bind in such a way that any connection to the
# clientPort for any address/interface/nic on the server will be accepted.
#ZOOKEEPER_CLIENT_PORT_ADDRESS: ''
# minSessionTimeout (No Java system property)
# the minimum session timeout in milliseconds that the server will allow the client to negotiate. Defaults to 2
# times the tickTime.
ZOOKEEPER_MIN_SESSION_TIMEOUT: 2
# maxSessionTimeout (No Java system property)
# the maximum session timeout in milliseconds that the server will allow the client to negotiate. Defaults to
# 20 times the tickTime.
ZOOKEEPER_MAX_SESSION_TIMEOUT: 20
# fsync.warningthresholdms (Java system property: zookeeper.fsync.warningthresholdms)
# A warning message will be output to the log whenever an fsync in the Transactional Log (WAL) takes longer
# than this value. The values is specified in milliseconds and defaults to 1000. This value can only be set as
# a system property.
ZOOKEEPER_FSYNC_WARNINGTHRESHOLDMS: 1000
# autopurge.snapRetainCount (No Java system property)
# When enabled, ZooKeeper auto purge feature retains the autopurge.snapRetainCount most recent snapshots and
# the corresponding transaction logs in the dataDir and dataLogDir respectively and deletes the rest. Defaults
# to 3. Minimum value is 3.
ZOOKEEPER_AUTOPURGE_SNAP_RETAIN_COUNT: 3
# autopurge.purgeInterval (No Java system property)
# The time interval in hours for which the purge task has to be triggered. Set to a positive integer (1 and
# above) to enable the auto purging. Defaults to 0.
ZOOKEEPER_AUTOPURGE_PURGE_INTERVAL: 0
# syncEnabled (Java system property: zookeeper.observer.syncEnabled)
# The observers now log transaction and write snapshot to disk by default like the participants. This reduces
# the recovery time of the observers on restart. Set to "false" to disable this feature. Default is "true"
ZOOKEEPER_SYNC_ENABLED: 'true'
# cnxTimeout (Java system property: zookeeper.cnxTimeout)
# Sets the timeout value for opening connections for leader election notifications. Only applicable if you are
# using electionAlg 3. Default value is 5 seconds.
ZOOKEEPER_CNX_TIMEOUT: 5
# 4lw.commands.whitelist (Java system property: zookeeper.4lw.commands.whitelist)
# This property contains a list of comma separated Four Letter Words commands. It is introduced to provide fine
# grained control over the set of commands ZooKeeper can execute, so users can turn off certain commands if
# necessary. By default it contains all supported four letter word commands except "wchp" and "wchc", if the
# property is not specified. If the property is specified, then only commands listed in the whitelist are
# enabled. Example: 4lw.commands.whitelist=stat, ruok, conf, isro
ZOOKEEPER_4LW_COMMANDS_WHITELIST: '*'
########## Hierarchical Quorums ##########
# The following provides an example of how to use hierarchical quorums. The basic idea is very simple. First, we
# split servers into groups, and add a line for each group listing the servers that form this group. Next we have
# to assign a weight to each server.
#
# The following example shows how to configure a system with three groups of three servers each, and we assign a
# weight of 1 to each server:
#
# group.1=1:2:3
# group.2=4:5:6
# group.3=7:8:9
#
# weight.1=1
# weight.2=1
# weight.3=1
# weight.4=1
# weight.5=1
# weight.6=1
# weight.7=1
# weight.8=1
# weight.9=1
#
# When running the system, we are able to form a quorum once we have a majority of votes from a majority of
# non-zero-weight groups. Groups that have zero weight are discarded and not considered when forming quorums.
# Looking at the example, we are able to form a quorum once we have votes from at least two servers from each of
# two different groups.
# group.x=nnnnn[:nnnnn] (No Java system property)
# Enables a hierarchical quorum construction. "x" is a group identifier and the numbers following the "=" sign
# correspond to server identifiers. The left-hand side of the assignment is a colon-separated list of server
# identifiers. Note that groups must be disjoint and the union of all groups must be the ZooKeeper ensemble.
# weight.x=nnnnn (No Java system property)
# Used along with "group", it assigns a weight to a server when forming quorums. Such a value corresponds to
# the weight of a server when voting. There are a few parts of ZooKeeper that require voting such as leader
# election and the atomic broadcast protocol. By default the weight of server is 1. If the configuration
# defines groups, but not weights, then a value of 1 will be assigned to all servers.
########## Experimental Options/Features ##########
# New features that are currently considered experimental.
# forceSync (Java system property: zookeeper.forceSync)
# Requires updates to be synced to media of the transaction log before finishing processing the update. If this
# option is set to no, ZooKeeper will not require updates to be synced to the media.
#ZOOKEEPER_FORCE_SYNC: ''
# jute.maxbuffer: (Java system property: jute.maxbuffer)
# This option can only be set as a Java system property. There is no zookeeper prefix on it. It specifies the
# maximum size of the data that can be stored in a znode. The default is 0xfffff, or just under 1M. If this
# option is changed, the system property must be set on all servers and clients otherwise problems will arise.
# This is really a sanity check. ZooKeeper is designed to store data on the order of kilobytes in size.
#ZOOKEEPER_JUTE_MAXBUFFER: ''
# skipACL (Java system property: zookeeper.skipACL)
# Skips ACL checks. This results in a boost in throughput, but opens up full access to the data tree to
# everyone.
#ZOOKEEPER_SKIP_ACL: ''
# quorumListenOnAllIPs
# When set to true the ZooKeeper server will listen for connections from its peers on all available IP
# addresses, and not only the address configured in the server list of the configuration file. It affects the
# connections handling the ZAB protocol and the Fast Leader Election protocol. Default value is false.
#ZOOKEEPER_QUORUM_LISTEN_ON_ALL_IPS: 'false'
kafka:
image: confluentinc/cp-kafka:5.3.1-1
container_name: kafka
depends_on:
- zookeeper
restart: 'no'
hostname: kafka
networks:
- kafka
ports:
# kafka broker listener
- 9092:9092/tcp
# JMX
- 10030:10030/tcp
- 10031:10031/tcp
volumes:
- /var/lib/kafka/data:/var/lib/kafka/data
- /var/log/kafka:/var/log/kafka
environment:
# JVM heap size.
KAFKA_HEAP_OPTS: '-Xms1g -Xmx1g'
# JMX Settings.
KAFKA_JMX_HOSTNAME: 0.0.0.0
KAFKA_JMX_PORT: 10030
#KAFKA_JMX_OPTS: '-Djava.rmi.server.hostname=127.0.0.1 -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=10030 -Dcom.sun.management.jmxremote.rmi.port=10031 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false'
# A comma seperated list of directories under which to store log files
LOG_DIR: /var/log/kafka
# The directory where ZooKeeper data will be stored.
KAFKA_DATA_DIR: /var/lib/kafka
# Listeners to publish to ZooKeeper for clients to use, if different than the listeners config property. In IaaS
# environments, this may need to be different from the interface to which the broker binds. If this is not set,
# the value for listeners will be used. Unlike listeners it is not valid to advertise the 0.0.0.0 meta-address.
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092
# The broker id for this server. If unset, a unique broker id will be generated. To avoid conflicts between
# zookeeper generated broker id's and user configured broker id's, generated broker ids start from
# reserved.broker_MAX_id + 1.
KAFKA_BROKER_ID: 0
# If set to true, and confluent-support-metrics package is installed then the feature to collect and report
# support metrics ("Metrics") is enabled.
KAFKA_CONFLUENT_SUPPORT_METRICS_ENABLE: 'false'
# Default replication factors for automatically created topics.
KAFKA_DEFAULT_REPLICATION_FACTOR: 1
# Enables delete topic. Delete topic through the admin tool will have no effect if this config is turned off.
KAFKA_DELETE_TOPIC_ENABLE: 'true'
# The address the socket server listens on. If changed, the docker-compose port configuration will also need to
# be changed.
KAFKA_LISTENERS: PLAINTEXT://:9092
# The number of hours to keep a log file before deleting it (in hours), tertiary to log.retention.ms property.
KAFKA_LOG_RETENTION_HOURS: 168
# When a producer sets acks to "all" (or "-1"), min.insync.replicas specifies the minimum number of replicas that
# must acknowledge a write for the write to be considered successful. If this minimum cannot be met, then the
# producer will raise an exception (either NotEnoughReplicas or NotEnoughReplicasAfterAppend). When used
# together, min.insync.replicas and acks allow you to enforce greater durability guarantees. A typical scenario
# would be to create a topic with a replication factor of 3, set min.insync.replicas to 2, and produce with acks
# of "all". This will ensure that the producer raises an exception if a majority of replicas do not receive a
# write.
KAFKA_MIN_INSYNC_REPLICAS: 1
# The default number of log partitions per topic.
KAFKA_NUM_PARTITIONS: 3
# After a consumer group loses all its consumers (i.e. becomes empty) its offsets will be kept for this retention
# period before getting discarded. For standalone consumers (using manual assignment), offsets will be expired
# after the time of last commit plus this retention period.
KAFKA_OFFSETS_RETENTION_MINUTES: 10080
# The number of partitions for the offset commit topic, "__consumer_offsets" (should not change after deployment)
KAFKA_OFFSETS_TOPIC_NUM_PARTITIONS: 12
# The replication factor for the offsets topic, "__consumer_offsets" (set higher to ensure availability). Internal topic creation will fail until the cluster size meets this replication factor requirement.
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
# Overridden min.insync.replicas config for the transaction topic.
KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1
# The number of partitions for the transaction topic, "__transaction_state" (should not change after deployment).
KAFKA_TRANSACTION_STATE_LOG_NUM_PARTITIONS: 12
# The replication factor for the transaction topic, "__transaction_state" (set higher to ensure availability).
# Internal topic creation will fail until the cluster size meets this replication factor requirement.
KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1
# The maximum amount of time in ms that the transaction coordinator will wait before proactively expire a
# producer's transactional id without receiving any transaction status updates from it.
KAFKA_TRANSACTIONAL_ID_EXPIRATION_MS: 604800000
# Specifies the ZooKeeper connection string in the form hostname:port where host and port are the host and port
# of a ZooKeeper server. To allow connecting through other ZooKeeper nodes when that ZooKeeper machine is down
# you can also specify multiple hosts in the form hostname1:port1,hostname2:port2,hostname3:port3. The server can
# also have a ZooKeeper chroot path as part of its ZooKeeper connection string which puts its data under some
# path in the global ZooKeeper namespace. For example to give a chroot path of /chroot/path you would give the
# connection string as hostname1:port1,hostname2:port2,hostname3:port3/chroot/path.
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
kafka_manager:
image: hlebalbau/kafka-manager:2.0.0.2
container_name: kafka-manager
depends_on:
- zookeeper
restart: 'no'
hostname: kafka-manager
networks:
- kafka
ports:
- 9000:9000/tcp
environment:
ZK_HOSTS: zookeeper:2181
APPLICATION_SECRET: secret
command: -Dpidfile.path=/dev/null
zoonavigator-api:
image: elkozmon/zoonavigator-api:0.6.1
container_name: zoonavigator-api
depends_on:
- zookeeper
restart: 'no'
hostname: zoonavigator-api
network_mode: bridge
networks:
- kafka
ports:
- 9009:9009/tcp
environment:
### API Server Settings
# Tells the HTTP server which port to bind to. To disable HTTP set this variable to disabled.
API_HTTP_PORT: 9009
# If set, HTTPS server will bind to this port.
#API_HTTPS_PORT: 9443
# The path to the keystore containing the private key and certificate, if not provided generates a keystore for
# you.
# API_SSL_KEYSTORE_PATH:
# The password to the keystore, defaults to a blank password.
#API_SSL_KEYSTORE_PASSWORD:
# The key store type.
#API_SSL_KEYSTORE_TYPE:
# Sets session inactivity timeout for users. This value is in milliseconds.
# default: 900000
#API_SESSION_TIMEOUT_MILLIS: 900000
# Secret key for Play Framework - used for signing session cookies and CSRF tokens.
# Defaults to 64 random characters generated from /dev/urandom.
#API_SECRET:
### Java Settings
# Custom Java arguments.
#JAVA_OPTS:
# Sets initial Java heap size. This value is in bytes if no unit is specified.
#JAVA_XMS:
# Sets maximum Java heap size. This value is in bytes if no unit is specified.
#JAVA_XMX:
# Path to JAAS login configuration file to use.
#JAVA_JAAS_LOGIN_CONFIG
# If set to true, enables debugging mode and detailed logging for Kerberos.
#JAVA_KRB5_DEBUG
# Sets the default Kerberos realm.
#JAVA_KRB5_REALM
# Sets the default Kerberos KDC.
#JAVA_KRB5_KDC
### Zookeeper Client Settings
# Sets inactivity timeout for ZooKeeper client. If user doesn’t make any request during this period ZooKeeper
# connection will be closed and recreated for the future request if any. Note that user does not get logged out
# unlike in event of session timeout. This value is in milliseconds.
# default: 5000
#ZK_CLIENT_TIMEOUT_MILLIS: 5000
# Sets timeout for attempt to establish connection with ZooKeeper. This value is in milliseconds.
# default: 5000
#ZK_CONNECT_TIMEOUT_MILLIS: 5000
# Set the value to false to disable SASL authentication.
# default: true
ZK_SASL_CLIENT: 'false'
# Specifies the context key in the JAAS login file.
# default: Client
#ZK_SASL_CLIENT_CONFIG: Client
# Specifies the primary part of the server principal. Learn more here.
# default: zookeeper
#ZK_SASL_CLIENT_USERNAME: zookeeper
# Realm part of the server principal. By default it is the client principal realm.
#ZK_SERVER_REALM:
# If you want to connect to the server secure client port, you need to set this property to true. This will
# connect to server using SSL with specified credentials. Note that it requires using the Netty client.
#ZK_CLIENT_SECURE:
# Specifies which ClientCnxnSocket to be used. If you want to connect to server’s secure client port, you need to
# set this property to: org.apache.zookeeper.ClientCnxnSocketNetty.
# default: org.apache.zookeeper.ClientCnxnSocketNIO
#ZK_CLIENT_CNXN_SOCKET: org.apache.zookeeper.ClientCnxnSocketNIO
# Specifies the file path to a JKS containing the local credentials to be used for SSL connections.
#ZK_SSL_KEYSTORE_PATH:
# Specifies the password to a JKS containing the local credentials to be used for SSL connections.
#ZK_SSL_KEYSTORE_PASSWORD:
# Specifies the file path to a JKS containing the remote credentials to be used for SSL connections.
#ZK_SSL_TRUSTSTORE_PATH:
# Specifies the password to a JKS containing the remote credentials to be used for SSL connections.
#ZK_SSL_TRUSTSTORE_PASSWORD:
zoonavigator-web:
image: elkozmon/zoonavigator-web:0.6.1
container_name: zoonavigator-web
depends_on:
- zoonavigator-api
restart: 'no'
hostname: zoonavigator-web
networks:
- kafka
ports:
- 8000:8000/tcp
environment:
# Tells the HTTP server which port to bind to.
# default: 8000
WEB_HTTP_PORT: 8000
# Specifies the host where ZooNavigator API runs.
# default: api
API_HOST: zoonavigator-api
# Specifies the port where ZooNavigator API runs.
# default: 9000
API_PORT: 9009
# Sets the timeout on requests to the ZooNavigator API. This value is in milliseconds.
# default: 10000
API_REQUEST_TIMEOUT_MILLIS: 10000
# If set to true, tells web server to bind to all IPv6 addresses.
# default: false
#ENABLE_IPV6: "false"
# If set, ZooNavigator will use this value as a default connection string and skip the connect form,
# automatically connecting to listed ZooKeeper servers.
AUTO_CONNECT_CONNECTION_STRING: zookeeper:2181
# In addition to presetting connection string as explained above, you can also set Auth info which ZooNavigator
# will use to authenticate with ZooKeeper during the auto-connect. Use semicolon (;) to separate multiple
# entries.
#AUTO_CONNECT_AUTH_INFO: