-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 991 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
40 lines (38 loc) · 991 Bytes
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
version: "3.9"
services:
kafkaesque:
build:
context: .
dockerfile: Dockerfile
image: kafkaesque/app:dev
environment:
SECRET_KEY_BASE: "HpKHz3o9eLNKHz3o9eLNyWD6pjo7pFdbRMFdbRMFKHz3o9eLNyWD6pjo7HuIoXF9cg8HpKHz3o9eLNyWD6pjo7HuIoXF9cg8"
PORT: "4000"
API_PORT: "4001"
GRPC_PORT: "50051"
DATA_DIR: "/var/lib/kafkaesque/data"
OFFSETS_DIR: "/var/lib/kafkaesque/offsets"
RETENTION_HOURS: "168"
LOG_LEVEL: "info"
ports:
- "4000:4000"
- "4001:4001"
- "50051:50051"
volumes:
- kafkaesque-data:/var/lib/kafkaesque/data
- kafkaesque-offsets:/var/lib/kafkaesque/offsets
ulimits:
nofile:
soft: 65535
hard: 65535
healthcheck:
test: ["CMD", "curl", "-fsS", "http://localhost:4000/healthz"]
interval: 10s
timeout: 3s
retries: 10
restart: unless-stopped
volumes:
kafkaesque-data:
driver: local
kafkaesque-offsets:
driver: local