forked from s8sg/goflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (55 loc) · 1.08 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
54
55
56
57
58
59
version: '3.3'
services:
redis:
container_name: redis
image: redis
restart: always
ports:
- '6379:6379'
volumes:
- cache:/data
networks:
- goflow
healthcheck:
test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ]
interval: 10s
timeout: 5s
retries: 5
jaeger:
container_name: jaeger
image: jaegertracing/all-in-one:latest
ports:
- "16686:16686"
- "14268:14268"
- "5775:5775/udp"
environment:
- COLLECTOR_OTLP_ENABLED=true
- LOG_LEVEL=debug
networks:
- goflow
healthcheck:
test: [ "CMD", "ls" ]
interval: 10s
timeout: 5s
retries: 5
dashboard:
container_name: dashboard
image: goflow/dashboard:latest
build: ./dashboard
ports:
- "8082:8082"
environment:
REDIS_URL: "redis:6379"
TRACE_URL: "http://jaeger:16686/"
networks:
- goflow
depends_on:
jaeger:
condition: service_healthy
redis:
condition: service_healthy
volumes:
cache:
driver: local
networks:
goflow: