-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
32 lines (30 loc) · 922 Bytes
/
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
# permit depends_on/condition: service_healthy
version: "2.4"
# BRAVE_EXAMPLE choices are listed here https://github.com/openzipkin/brave-example#example-projects
services:
# Generate traffic by hitting http://localhost:8081
frontend:
container_name: frontend
image: ghcr.io/openzipkin/brave-example:${BRAVE_EXAMPLE:-armeria}
entrypoint: start-frontend
ports:
- 8081:8081
depends_on:
backend:
condition: service_healthy
zipkin:
condition: service_healthy
# Serves the /api endpoint the frontend uses
backend:
container_name: backend
image: ghcr.io/openzipkin/brave-example:${BRAVE_EXAMPLE:-armeria}
entrypoint: start-backend
depends_on:
zipkin:
condition: service_healthy
# View traces at http://127.0.0.1:9411/zipkin
zipkin:
image: ghcr.io/openzipkin/zipkin-slim
container_name: zipkin
ports:
- 9411:9411