-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (43 loc) · 1.1 KB
/
docker-compose.yml
File metadata and controls
46 lines (43 loc) · 1.1 KB
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
services:
zookeeper:
image: wurstmeister/zookeeper:latest
ports:
- "2181:2181"
kafka:
depends_on:
- zookeeper
image: wurstmeister/kafka:latest
ports:
- "9092:9092"
- "9093:9093"
environment:
KAFKA_ADVERTISED_LISTENERS: INSIDE://kafka:9093,OUTSIDE://host.docker.internal:9092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INSIDE:PLAINTEXT,OUTSIDE:PLAINTEXT
KAFKA_LISTENERS: INSIDE://0.0.0.0:9093,OUTSIDE://0.0.0.0:9092
KAFKA_INTER_BROKER_LISTENER_NAME: INSIDE
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
volumes:
- /var/run/docker.sock:/var/run/docker.sock
fastlane:
build: .
depends_on:
- kafka
ports:
- "3000:3000"
command: ["--server", "fastlane"]
platform: "linux/amd64"
environment:
RUST_LOG: "kafka=debug,ws=debug"
RUNNING_LOCAL: true
ENDPOINT: "https://api.devnet.solana.com"
fastlane-ws:
build: .
depends_on:
- kafka
ports:
- "6969:6969"
command: ["--server", "ws"]
platform: "linux/amd64"
environment:
RUST_LOG: "info"
RUNNING_LOCAL: true