-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
58 lines (55 loc) · 1.7 KB
/
docker-compose.yaml
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
version: '3'
services:
redis:
container_name: redis
restart: unless-stopped
image: redis:6-alpine
ports:
- "6379:6379"
# network_mode: host
postgres:
container_name: postgres
restart: unless-stopped
image: postgres:12-alpine
environment:
POSTGRES_USER: ${DATABASE_USER}
POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
POSTGRES_DB: postgres
ports:
- "5432:5432"
# network_mode: host
# zookeeper:
# image: wurstmeister/zookeeper:latest
# ports:
# - 2181:2181
# environment:
# ALLOW_ANONYMOUS_LOGIN: "yes"
#
# kafka:
# image: wurstmeister/kafka:latest
# environment:
# HOSTNAME_COMMAND: "docker info | grep ^Name: | cut -d' ' -f 2" # Normal instances
# KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
# KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: D:PLAINTEXT,HST:PLAINTEXT
# KAFKA_LISTENERS: D://:9093,HST://:9092
# KAFKA_ADVERTISED_LISTENERS: D://:9093,HST://localhost:9092
# KAFKA_INTER_BROKER_LISTENER_NAME: D
# KAFKA_JMX_OPTS: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=kafka -Dcom.sun.management.jmxremote.rmi.port=1099
# JMX_PORT: 1099
# ports:
# - 9092:9092
# depends_on:
# - zookeeper
## network_mode: "host"
#
# kafka-ui:
# image: provectuslabs/kafka-ui
# container_name: kafka-ui
# ports:
# - 8080:8080
# environment:
# - KAFKA_CLUSTERS_0_NAME=local
# - KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9093
# - KAFKA_CLUSTERS_0_ZOOKEEPER=zookeeper:2181
# depends_on:
# - kafka