-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
68 lines (68 loc) · 1.75 KB
/
Copy pathcompose.yaml
File metadata and controls
68 lines (68 loc) · 1.75 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
services:
db:
image: ${POSTGRES_IMAGE:-postgres:17}
environment:
PGUSER: postgres
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
volumes:
- db:/var/lib/postgresql/data
- ./etc/initdb.d/:/docker-entrypoint-initdb.d/
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
environment:
MINIO_PROMETHEUS_AUTH_TYPE: public
healthcheck:
test: timeout 5s bash -c ':> /dev/tcp/127.0.0.1/9000' || exit 1
interval: 5s
retries: 1
start_period: 5s
timeout: 5s
kafka:
image: ${KAFKA_IMAGE}
command: /bin/sleep infinity
nisshi:
image: ${NISSHI_IMAGE}
restart: unless-stopped
environment:
ADVERTISED_LISTENER_URL: ${ADVERTISED_LISTENER_URL}
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
AWS_ALLOW_HTTP: ${AWS_ALLOW_HTTP}
AWS_ENDPOINT: ${AWS_ENDPOINT}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
CLUSTER_ID: ${CLUSTER_ID}
PROMETHEUS_LISTENER_URL: ${PROMETHEUS_LISTENER_URL}
RUST_BACKTRACE: ${RUST_BACKTRACE}
RUST_LOG: ${RUST_LOG}
STORAGE_ENGINE: ${STORAGE_ENGINE}
volumes:
- ./etc/schema/:/schema/
command: --kafka-cluster-id ${CLUSTER_ID}
--kafka-listener-url tcp://0.0.0.0:9092/
--kafka-advertised-listener-url ${ADVERTISED_LISTENER_URL}
--storage-engine ${STORAGE_ENGINE}
--schema-registry file:///schema
ports:
- 9092:9092
- 9100:9100
volumes:
db:
driver: local
minio:
driver: local
grafana:
driver: local