forked from openmeterio/openmeter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
66 lines (59 loc) · 1.37 KB
/
docker-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
63
64
65
66
version: '3.9'
services:
openmeter:
image: ghcr.io/openmeterio/openmeter
command: openmeter --config /etc/openmeter/config.yaml
hostname: openmeter
container_name: openmeter
restart: always
pull_policy: always
depends_on:
ksqldb-server-healthcheck:
condition: service_healthy
ports:
- "8888:8888"
volumes:
- ./config.yaml:/etc/openmeter/config.yaml
ksqldb-server-healthcheck:
image: alpine/curl:3.14
entrypoint: /bin/sh
tty: true
depends_on:
- ksqldb-server
healthcheck:
test: curl --fail http://ksqldb-server:8088/healthcheck
interval: 5s
timeout: 5s
retries: 100
zookeeper:
extends:
file: ../docker-compose.yaml
service: zookeeper
broker:
depends_on:
- zookeeper
extends:
file: ../docker-compose.yaml
service: broker
environment:
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://broker:9092,PLAINTEXT_HOST://broker:29092
schema:
depends_on:
- broker
extends:
file: ../docker-compose.yaml
service: schema
ksqldb-server:
depends_on:
- broker
- kafka-connect-01
extends:
file: ../docker-compose.yaml
service: ksqldb-server
kafka-connect-01:
depends_on:
- broker
- schema
extends:
file: ../docker-compose.yaml
service: kafka-connect-01