-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcompose.yaml
More file actions
45 lines (45 loc) · 2.01 KB
/
compose.yaml
File metadata and controls
45 lines (45 loc) · 2.01 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
services:
redpanda:
# You can access the event streaming platform's ui as described under `redpanda-console`.
command:
- redpanda start
- --mode dev-container # dargstack:dev-only
- --kafka-addr internal://0.0.0.0:9092,external://0.0.0.0:19092
- --advertise-kafka-addr internal://redpanda:9092,external://localhost:19092
- --pandaproxy-addr internal://0.0.0.0:8082,external://0.0.0.0:18082
- --advertise-pandaproxy-addr internal://redpanda:8082,external://localhost:18082
- --schema-registry-addr internal://0.0.0.0:8081,external://0.0.0.0:18081
deploy:
labels:
- dargstack.profiles=event-streaming
# healthcheck:
# test: ["CMD-SHELL", "output=$(rpk cluster health --json); echo \"$output\" | grep -q '\"healthy\":true' || { echo \"$output\"; exit 1; }"]
# interval: 30s
# timeout: 10s
# retries: 3
# start_period: 10s
image: redpandadata/redpanda:v26.1.2
volumes:
- redpanda-data:/var/lib/redpanda/data
redpanda-console:
# You can access the event streaming platform's ui at [redpanda.app.localhost](https://redpanda.app.localhost/).
deploy:
labels:
- dargstack.profiles=event-streaming
- traefik.enable=true
- traefik.http.routers.redpanda.entryPoints=web
- traefik.http.routers.redpanda.middlewares=redirectscheme # dargstack:dev-only
- traefik.http.routers.redpanda.rule=Host(`redpanda.${STACK_DOMAIN}`)
- traefik.http.routers.redpanda-secure.entryPoints=web-secure
- traefik.http.routers.redpanda-secure.rule=Host(`redpanda.${STACK_DOMAIN}`)
- traefik.http.routers.redpanda-secure.tls.options=mintls13@file # dargstack:dev-only
- traefik.http.services.redpanda.loadbalancer.server.port=8080
environment:
CONFIG_FILEPATH: /srv/app/redpanda-config.yaml
image: redpandadata/console:v3.7.0
volumes:
- ./configurations/config.yaml:/srv/app/redpanda-config.yaml:ro
volumes:
redpanda-data:
# The message queue's data.
{}