-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
71 lines (65 loc) · 1.73 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
59
60
61
62
63
64
65
66
67
68
69
70
71
version: "3"
services:
scylla:
container_name: scylla
image: scylladb/scylla:5.2
restart: always
command: --smp 2 --memory 4G --developer-mode 1 --api-address 0.0.0.0
volumes:
- ./scylla/data:/var/lib/scylla
- ./scylla/scylla.yaml:/etc/scylla/scylla.yaml
- ./scylla/cassandra-rackdc.properties.dc1:/etc/scylla/cassandra-rackdc.properties
- ./scylla/migration.cql:/tmp/migration.cql
ports:
- 9042:9042
networks:
infra:
redpanda:
container_name: redpanda
image: vectorized/redpanda:v23.1.13
command:
- redpanda start
- --smp 2
- --overprovisioned
- --node-id 0
- --memory 4G
- --reserve-memory 2G
- --kafka-addr PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092
- --advertise-kafka-addr PLAINTEXT://redpanda:29092,OUTSIDE://0.0.0.0:9092
- --pandaproxy-addr 0.0.0.0:8082
- --advertise-pandaproxy-addr localhost:8082
networks:
infra:
ports:
- 8081:8081
- 8082:8082
- 9092:9092
- 29092:29092
console:
container_name: redpanda-console
image: vectorized/console:v2.3.5
restart: on-failure
entrypoint: /bin/sh
command: -c "echo \"$$CONSOLE_CONFIG_FILE\" > /tmp/config.yml; /app/console"
environment:
CONFIG_FILEPATH: /tmp/config.yml
CONSOLE_CONFIG_FILE: |
kafka:
brokers: ["redpanda:29092"]
schemaRegistry:
enabled: false
urls: ["http://redpanda:8081"]
connect:
enabled: false
clusters:
- name: datagen
url: http://connect:8083
networks:
infra:
ports:
- "8080:8080"
depends_on:
- redpanda
networks:
infra:
driver: bridge