forked from catalin-modan-encora/roaster-poc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
53 lines (48 loc) · 1.13 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
46
47
48
49
50
51
52
53
version: "3.8"
networks:
monitoring:
driver: bridge
volumes:
prometheus_data: {}
services:
roaster:
depends_on:
- prometheus
- zipkin
build:
context: .
dockerfile: Roaster/Dockerfile
container_name: roaster
restart: unless-stopped
networks:
- monitoring
ports:
- 8080:80
environment:
# - OTLP_ENDPOINT_URL=
- ZIPKIN_URL=http://zipkin:9411/api/v2/spans
prometheus:
image: prom/prometheus:v2.55.1
container_name: prometheus
restart: unless-stopped
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
- prometheus_data:/prometheus
command:
- "--config.file=/etc/prometheus/prometheus.yml"
- "--storage.tsdb.path=/prometheus"
- "--web.console.libraries=/etc/prometheus/console_libraries"
- "--web.console.templates=/etc/prometheus/consoles"
- "--web.enable-lifecycle"
ports:
- 9090:9090
networks:
- monitoring
zipkin:
image: openzipkin/zipkin:3
container_name: zipkin
restart: unless-stopped
ports:
- 9411:9411
networks:
- monitoring