Repository navigation
Expand file tree
/
Copy pathcompose.yaml
More file actions
72 lines (72 loc) · 2.06 KB
/
Copy pathcompose.yaml
File metadata and controls
72 lines (72 loc) · 2.06 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
69
70
71
72
---
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:
# MinIO no longer publishes images. pgsty/silo is a community-maintained
# AGPLv3 fork that still does, multi-arch, with mc at /usr/bin/mc and the
# MinIO S3 API, including conditional writes.
image: pgsty/silo:RELEASE.2026-09-16T00-00-00Z@sha256:635197cb9f36d01bee221d34d1c7d7960f6a95c48b0b6c01d99cd13bdae51a46
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
pull_policy: missing
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