-
Notifications
You must be signed in to change notification settings - Fork 4
/
compose.yaml
62 lines (62 loc) · 1.42 KB
/
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
---
services:
db:
image: postgres:16.4
environment:
PGUSER: postgres
POSTGRES_PASSWORD: postgres
command: -c wal_level=logical
ports:
- 5432:5432
volumes:
- db:/var/lib/postgresql/data
- ./work-dir/initdb.d/:/docker-entrypoint-initdb.d/
- ./work-dir/data:/mnt
healthcheck:
test: /usr/bin/pg_isready
interval: 5s
timeout: 10s
retries: 5
pull_policy: missing
minio:
image: quay.io/minio/minio
command: server
/data
--console-address ":9001"
volumes:
- minio:/data
ports:
- 9000:9000
- 9001:9001
tansu:
image: ghcr.io/tansu-io/tansu
restart: unless-stopped
environment:
RUST_BACKTRACE: ${RUST_BACKTRACE}
RUST_LOG: ${RUST_LOG}
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
AWS_ENDPOINT: ${AWS_ENDPOINT}
AWS_ALLOW_HTTP: ${AWS_ALLOW_HTTP}
command: --kafka-cluster-id ${CLUSTER_ID}
--kafka-listener-url tcp://0.0.0.0:9092/
--kafka-advertised-listener-url ${KAFKA_ADVERTISED_LISTENER_URL}
--kafka-node-id ${NODE_ID}
--storage-engine ${STORAGE_ENGINE}
--work-dir /data
volumes:
- raft:/data
ports:
- 9092:9092
- 4567:4567
links:
- db
- minio
pull_policy: missing
volumes:
db:
driver: local
raft:
driver: local
minio:
driver: local