-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
78 lines (74 loc) · 1.82 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
name: "isitrunning"
x-logging: &default-logging
options:
max-size: "12m"
max-file: "5"
driver: json-file
x-restart-policy: &restart-policy
restart: unless-stopped
networks:
isitrunning:
services:
zookeeper:
logging: *default-logging
<<: *restart-policy
image: docker.io/bitnami/zookeeper:3.9
volumes:
- "./.data/zookeeper:/bitnami/zookeeper"
networks:
- isitrunning
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
kafka:
logging: *default-logging
<<: *restart-policy
image: docker.io/bitnami/kafka:3.8
ports:
- "9092:9092"
volumes:
- "./.data/kafka:/bitnami/kafka"
networks:
- isitrunning
environment:
- KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181
# Listeners
- KAFKA_CFG_LISTENERS=PLAINTEXT://:9092,CONTROLLER://:9093
- KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://localhost:9092
- KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT
depends_on:
- zookeeper
soketi:
logging: *default-logging
<<: *restart-policy
image: quay.io/soketi/soketi:latest-16-distroless
ports:
- "6001:6001"
- "9601:9601"
environment:
- SOKETI_DEFAULT_APP_ENABLE_CLIENT_MESSAGES=true
networks:
- isitrunning
cassandra:
logging: *default-logging
<<: *restart-policy
image: docker.io/bitnami/cassandra:4.0-debian-12
environment:
- CASSANDRA_CLUSTER_NAME=cassandra-cluster
- CASSANDRA_SEE
ports:
- "9042:9042"
volumes:
- "./.data/cassandra:/bitnami/cassandra"
networks:
- isitrunning
# holter:
# logging: *default-logging
# <<: *restart-policy
# build:
# context: backend
# command: holter
# networks:
# - isitrunning
# depends_on:
# - kafka
# - cassandra