-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
46 lines (42 loc) · 938 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: "3.9"
services:
prometheus:
image: prom/prometheus
volumes:
- ./docker/prometheus/:/etc/prometheus/
- prometheus_data:/prometheus
ports:
- "9090:9090"
jaeger:
image: jaegertracing/all-in-one:1.39
environment:
- COLLECTOR_ZIPKIN_HOST_PORT=:9411
ports:
- "5775:5775/udp"
- "6831:6831/udp"
- "6832:6832/udp"
- "5778:5778"
- "16686:16686"
- "14250:14250"
- "14268:14268"
- "14269:14269"
- "9411:9411"
db:
image: postgis/postgis
environment:
- POSTGRES_DB=dispatch
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- WAL_LEVEL=logical
volumes:
- "pg_data:/var/lib/postgresql/data"
ports:
- "5432:5432"
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 10s
timeout: 1s
retries: 5
volumes:
pg_data:
prometheus_data: