forked from timeplus-io/proton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (42 loc) · 1.18 KB
/
docker-compose.yml
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
version: '3.7'
name: proton-demo
volumes:
redpanda: null
services:
proton:
image: ghcr.io/timeplus-io/proton:latest
pull_policy: always
redpanda:
image: docker.redpanda.com/redpandadata/redpanda:v23.2.8
command:
- redpanda start
- --kafka-addr internal://0.0.0.0:9092,external://0.0.0.0:19092
- --advertise-kafka-addr internal://redpanda:9092,external://localhost:19092
- --smp 1
- --memory 1G
- --mode dev-container
volumes:
- redpanda:/var/lib/redpanda/data
console:
image: docker.redpanda.com/redpandadata/console:v2.3.1
entrypoint: /bin/sh
command: -c "echo \"$$CONSOLE_CONFIG_FILE\" > /tmp/config.yml; /app/console"
environment:
CONFIG_FILEPATH: /tmp/config.yml
CONSOLE_CONFIG_FILE: |
kafka:
brokers: ["redpanda:9092"]
ports:
- 8080:8080
depends_on:
- redpanda
owl-shop:
image: quay.io/cloudhut/owl-shop:latest
#platform: 'linux/amd64'
environment:
- SHOP_KAFKA_BROKERS=redpanda:9092
- SHOP_KAFKA_TOPICREPLICATIONFACTOR=1
- SHOP_TRAFFIC_INTERVAL_RATE=1
- SHOP_TRAFFIC_INTERVAL_DURATION=0.1s
depends_on:
- redpanda